pub enum Invalid {
NotUsed,
ManifestRole,
PolicyUnsupported,
Value,
Cardinality,
Resource,
NoDeadline,
ParamsUnbound,
Framed,
}Expand description
Why a declaration is invalid (§2.2), in the order checked.
Variants§
NotUsed
The policy carried, and the declaring contract’s uses naming no
major of the profile (core E020’s).
ManifestRole
A component’s manifest declares the role.
PolicyUnsupported
freshest or lease, reserved (§4).
Value
Not one of the strings priority, freshest, lease.
Cardinality
The role’s cardinality is not many.
Resource
The role does not consume exactly one stream.
NoDeadline
That stream has no deadline as timing.v1 reads it.
ParamsUnbound
A parameter of that stream’s template is not bound (core R2).
Framed
The role consumes a frame resource (core §7.7) and no stream that is not one: a frame is never an arbitrated role’s stream (text 0.6).
Implementations§
Trait Implementations§
impl Copy for Invalid
impl Eq for Invalid
impl StructuralPartialEq for Invalid
Auto Trait Implementations§
impl Forget for Invalid
impl Freeze for Invalid
impl Move for Invalid
impl RefUnwindSafe for Invalid
impl Send for Invalid
impl Sync for Invalid
impl Unpin for Invalid
impl UnsafeUnpin for Invalid
impl UnwindSafe for Invalid
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