pub enum Observed {
SeatAbsent,
ContractDisagreement,
IdentityDisagreement,
ProfileDisagreement,
BoundExceeded,
OriginAbsent,
Declared {
name: DiagnosticName,
described: &'static str,
},
}Expand description
How what was observed differs from the contract that was expected.
A typed classification, never a sentence: the sentence is a projection of this.
Variants§
SeatAbsent
A required seat was unfurnished.
ContractDisagreement
What was present disagrees with the expected contract.
IdentityDisagreement
An identity that had to match did not.
ProfileDisagreement
The material was presented under a profile that does not offer it.
BoundExceeded
A declared magnitude was exceeded.
OriginAbsent
Generated material arrived with no origin.
Declared
A difference an adopter declared, for an observation none of the rows above classify.
Fields
§
name: DiagnosticNameThe stable kebab-case name.
Implementations§
Trait Implementations§
impl Copy for Observed
impl Eq for Observed
impl StructuralPartialEq for Observed
Auto Trait Implementations§
impl Freeze for Observed
impl RefUnwindSafe for Observed
impl Send for Observed
impl Sync for Observed
impl Unpin for Observed
impl UnsafeUnpin for Observed
impl UnwindSafe for Observed
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