pub struct RetainedCatalogCast { /* private fields */ }Expand description
Successfully resolved metadata for one expression’s fixed source/target spellings. Owned descriptors retain their original production allowances; values, input routines, domain checks and session settings remain per evaluation.
Implementations§
Source§impl RetainedCatalogCast
impl RetainedCatalogCast
Sourcepub fn evaluate(
&self,
value: &Value,
source: Option<&str>,
target: &str,
engine: Option<&dyn EngineHook>,
control: &ProductionControl<'_>,
) -> Option<Result<Produced<Value>>>
pub fn evaluate( &self, value: &Value, source: Option<&str>, target: &str, engine: Option<&dyn EngineHook>, control: &ProductionControl<'_>, ) -> Option<Result<Produced<Value>>>
Decline before conversion when the invoking immutable catalog changed. The caller must keep the original expression and its complete type-schema identity, and evaluate the operand before checking this scope.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RetainedCatalogCast
impl RefUnwindSafe for RetainedCatalogCast
impl Send for RetainedCatalogCast
impl Sync for RetainedCatalogCast
impl Unpin for RetainedCatalogCast
impl UnsafeUnpin for RetainedCatalogCast
impl UnwindSafe for RetainedCatalogCast
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
impl<T> ErasedDestructor for Twhere
T: 'static,
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