pub enum ConsistencyObservationError {
InvalidTargetCount,
InvalidPrincipal,
DuplicateTarget,
TargetAbsentFromInventory,
}Expand description
Typed current canonical evidence admission failure.
Variants§
InvalidTargetCount
Exact actual targets must fit the inventory bound and be nonempty.
InvalidPrincipal
Target principal is invalid or exceeds its own bound.
DuplicateTarget
Equivalent target identities cannot appear twice.
TargetAbsentFromInventory
Actual target is not in the actually observed inventory.
Trait Implementations§
Source§impl Debug for ConsistencyObservationError
impl Debug for ConsistencyObservationError
impl Eq for ConsistencyObservationError
Source§impl Error for ConsistencyObservationError
impl Error for ConsistencyObservationError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
impl StructuralPartialEq for ConsistencyObservationError
Auto Trait Implementations§
impl Freeze for ConsistencyObservationError
impl RefUnwindSafe for ConsistencyObservationError
impl Send for ConsistencyObservationError
impl Sync for ConsistencyObservationError
impl Unpin for ConsistencyObservationError
impl UnsafeUnpin for ConsistencyObservationError
impl UnwindSafe for ConsistencyObservationError
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