pub enum RestoreSafetyObservationError {
InvalidTargetCount,
InvalidPrincipal,
DuplicateTarget,
TargetAbsentFromInventory,
}Expand description
Typed owning-boundary current evidence admission denial.
Variants§
InvalidTargetCount
Actual rows must be nonempty and within the inventory bound.
InvalidPrincipal
Target principal failed bounded normalization.
DuplicateTarget
Canonical equivalent targets cannot appear twice.
TargetAbsentFromInventory
Actual row is absent from the actual full inventory.
Trait Implementations§
impl Eq for RestoreSafetyObservationError
Source§impl Error for RestoreSafetyObservationError
impl Error for RestoreSafetyObservationError
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 RestoreSafetyObservationError
Auto Trait Implementations§
impl Freeze for RestoreSafetyObservationError
impl RefUnwindSafe for RestoreSafetyObservationError
impl Send for RestoreSafetyObservationError
impl Sync for RestoreSafetyObservationError
impl Unpin for RestoreSafetyObservationError
impl UnsafeUnpin for RestoreSafetyObservationError
impl UnwindSafe for RestoreSafetyObservationError
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