pub enum Verdict {
Same,
New(Box<EffectivePolicyBundleV1>),
}Expand description
The verdict on a received bundle.
Variants§
Same
The version and digest already in force.
New(Box<EffectivePolicyBundleV1>)
A newer, verified bundle.
Trait Implementations§
impl StructuralPartialEq for Verdict
Auto Trait Implementations§
impl Forget for Verdict
impl Freeze for Verdictwhere
*const EffectivePolicyBundleV1 is !null: Freeze,
PhantomData<EffectivePolicyBundleV1>: Freeze,
impl Move for Verdict
impl RefUnwindSafe for Verdict
impl Send for Verdictwhere
BoxRaw<EffectivePolicyBundleV1>: Send,
impl Sync for Verdictwhere
BoxRaw<EffectivePolicyBundleV1>: Sync,
impl Unpin for Verdict
impl UnsafeUnpin for Verdictwhere
*const EffectivePolicyBundleV1 is !null: UnsafeUnpin,
PhantomData<EffectivePolicyBundleV1>: UnsafeUnpin,
impl UnwindSafe for Verdictwhere
BoxRaw<EffectivePolicyBundleV1>: UnwindSafe,
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