pub enum Invalid {
Majors,
NotUsed,
Value,
Disagrees,
Tokenless,
ExplicitStream,
}Expand description
Why a declaration is invalid (§2.2), in the order checked. Majors and
ExplicitStream are redundancy.v2’s alone (v2 §2.2): the first before
v1’s four, the second after them.
Variants§
Majors
uses lists redundancy.v2 and another major of the profile (v2
§2.2; core E002 to a linter). The interface is read as governed for
the checks after it.
NotUsed
redundancy.election carried, and uses names no major of the
profile (core E020’s).
Value
A value that is not the string claim or external.
Disagrees
Two resources resolve to two elections.
Tokenless
The interface is governed, and the deployment’s tokenless set names it (§2.14).
ExplicitStream
The interface is governed by redundancy.v2, and declares a
stream resource with explicit = true: its samples carry no
envelope, so no run a follower can fence (v2 §2.2).
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