pub enum WrapperActivation {
OwnedField {
wrapper: WrapperName,
field: &'static str,
},
TransitiveFrom {
wrapper: WrapperName,
requested_by: WrapperName,
},
AlwaysOn {
wrapper: WrapperName,
},
}Expand description
How a wrapper came to be in a plan — directly triggered by a field, transitively pulled in by another wrapper, or always-on.
Variants§
OwnedField
Triggered directly by an owned field on the op
template (e.g. validate because verify: was
declared).
TransitiveFrom
Pulled in transitively by another wrapper’s
requires_inner.
AlwaysOn
Always-on wrapper (e.g. traverse, result).
Fields
§
wrapper: WrapperNameImplementations§
Source§impl WrapperActivation
impl WrapperActivation
pub fn wrapper(&self) -> WrapperName
Trait Implementations§
Source§impl Clone for WrapperActivation
impl Clone for WrapperActivation
Auto Trait Implementations§
impl Freeze for WrapperActivation
impl RefUnwindSafe for WrapperActivation
impl Send for WrapperActivation
impl Sync for WrapperActivation
impl Unpin for WrapperActivation
impl UnsafeUnpin for WrapperActivation
impl UnwindSafe for WrapperActivation
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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
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