pub struct CorePrepareContext<'a> { /* private fields */ }Expand description
Runtime-created borrowed context passed to direct core providers.
§Examples
use std::fmt::Debug;
use tenferro_runtime::CorePrepareContext;
fn requires_debug<T: Debug>() {}
requires_debug::<CorePrepareContext<'_>>();Implementations§
Source§impl<'a> CorePrepareContext<'a>
impl<'a> CorePrepareContext<'a>
Sourcepub fn binding(&self) -> &'a PreparedOperationBinding
pub fn binding(&self) -> &'a PreparedOperationBinding
Return the runtime-created binding.
Sourcepub fn inputs(&self) -> &'a InputSignature
pub fn inputs(&self) -> &'a InputSignature
Return value-free input metadata.
Sourcepub fn resolved_placement(&self) -> &'a ResolvedProgramPlacement
pub fn resolved_placement(&self) -> &'a ResolvedProgramPlacement
Return the selected program placement.
Sourcepub fn planning(&self) -> &'a ResolvedPlanningConfig
pub fn planning(&self) -> &'a ResolvedPlanningConfig
Return resolved planning policy.
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 CorePrepareContext<'a>
impl<'a> RefUnwindSafe for CorePrepareContext<'a>
impl<'a> Send for CorePrepareContext<'a>
impl<'a> Sync for CorePrepareContext<'a>
impl<'a> Unpin for CorePrepareContext<'a>
impl<'a> UnsafeUnpin for CorePrepareContext<'a>
impl<'a> UnwindSafe for CorePrepareContext<'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