pub struct ExtensionPrepareRequest<'a> { /* private fields */ }Expand description
Runtime-created borrowed extension preparation request.
Implementations§
Source§impl<'a> ExtensionPrepareRequest<'a>
impl<'a> ExtensionPrepareRequest<'a>
Sourcepub fn operation(&self) -> &'a dyn ExtensionOp
pub fn operation(&self) -> &'a dyn ExtensionOp
Return the extension operation payload.
Sourcepub fn binding(&self) -> &'a PreparedOperationBinding
pub fn binding(&self) -> &'a PreparedOperationBinding
Return the runtime-created binding.
Sourcepub fn resolved_placement(&self) -> &'a ResolvedProgramPlacement
pub fn resolved_placement(&self) -> &'a ResolvedProgramPlacement
Return the selected program placement.
Sourcepub fn hardware_class(&self) -> &'a HardwareClassId
pub fn hardware_class(&self) -> &'a HardwareClassId
Return the selected hardware class.
Sourcepub fn planning(&self) -> &'a ResolvedPlanningConfig
pub fn planning(&self) -> &'a ResolvedPlanningConfig
Return resolved planning policy.
Sourcepub fn extension_config(&self) -> &'a dyn ExtensionPlanningConfig
pub fn extension_config(&self) -> &'a dyn ExtensionPlanningConfig
Return the snapshot-retained extension planning config.
Sourcepub fn inputs(&self) -> &'a InputSignature
pub fn inputs(&self) -> &'a InputSignature
Return value-free input metadata.
Sourcepub fn prepare_options_key(&self) -> &'a PrepareOptionsKey
pub fn prepare_options_key(&self) -> &'a PrepareOptionsKey
Return the normalized prepare-options key.
Sourcepub fn specialization(&self) -> &'a SpecializationProjection
pub fn specialization(&self) -> &'a SpecializationProjection
Return the concrete specialization projection.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for ExtensionPrepareRequest<'a>
impl<'a> !RefUnwindSafe for ExtensionPrepareRequest<'a>
impl<'a> Send for ExtensionPrepareRequest<'a>
impl<'a> Sync for ExtensionPrepareRequest<'a>
impl<'a> Unpin for ExtensionPrepareRequest<'a>
impl<'a> UnsafeUnpin for ExtensionPrepareRequest<'a>
impl<'a> !UnwindSafe for ExtensionPrepareRequest<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more