#[non_exhaustive]pub enum OutputOverride {
Omit,
Value(OwnedDataValue),
}Expand description
What a Resolver supplies for a config’s primary output in place of
evaluating it.
A call’s context answers this only when its input is resolved with the
destination already known
(Ctx::input_with_primary_output
and Ctx::input_without_primary_output);
every other resolution, Ctx::input included, leaves
every output to resolve as usual.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Omit
The field is left out, as an optional output the input left unset is.
Value(OwnedDataValue)
The field resolves to this value, its expression never evaluated.
Trait Implementations§
Source§impl Clone for OutputOverride
impl Clone for OutputOverride
Source§impl Debug for OutputOverride
impl Debug for OutputOverride
Source§impl PartialEq for OutputOverride
impl PartialEq for OutputOverride
impl StructuralPartialEq for OutputOverride
Auto Trait Implementations§
impl Freeze for OutputOverride
impl RefUnwindSafe for OutputOverride
impl Send for OutputOverride
impl Sync for OutputOverride
impl Unpin for OutputOverride
impl UnsafeUnpin for OutputOverride
impl UnwindSafe for OutputOverride
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