pub enum Held {
NoContract,
RevisionsDisagree,
Read(Declaration),
}Expand description
What a tool holds of a role’s declaration (§2.14).
Variants§
NoContract
The declaring contract not held.
RevisionsDisagree
The revisions of the required interface held give two declarations.
Read(Declaration)
The one declaration they give, unread when none is held. A
manifest’s role, whose policy no tool sees, is
Declaration::NotArbitrated.
Trait Implementations§
impl Eq for Held
impl StructuralPartialEq for Held
Auto Trait Implementations§
impl Forget for Held
impl Freeze for Heldwhere
*const u8 is !null: Freeze,
PhantomData<Invalid>: Freeze,
PhantomData<u8>: Freeze,
PhantomData<Segment>: Freeze,
impl Move for Held
impl RefUnwindSafe for Held
impl Send for Heldwhere
RawVecInner: Send,
impl Sync for Heldwhere
RawVecInner: Sync,
impl Unpin for Held
impl UnsafeUnpin for Heldwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<Invalid>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<Segment>: UnsafeUnpin,
impl UnwindSafe for Heldwhere
RawVecInner: 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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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