pub enum SnapshotReadError {
RequestMismatch,
ContextMismatch(&'static str),
TargetMismatch,
ControllersUnobserved,
CallerCannotRead,
ObservationLimitExceeded {
limit: u32,
reported: u32,
},
}Expand description
Typed denial; no error alters consumption or admits any paid effect.
Variants§
RequestMismatch
Current original intent/operation/read-payload/challenge/ceiling differs.
ContextMismatch(&'static str)
Actually observed context differs.
TargetMismatch
Actually observed physical target differs.
ControllersUnobserved
No public/viewer path applies and controller evidence is unobserved.
CallerCannotRead
Exact original caller is neither a known controller nor an admitted viewer.
ObservationLimitExceeded
Actual call reporting exceeds the descriptive invocation ceiling.
Trait Implementations§
Source§impl Debug for SnapshotReadError
impl Debug for SnapshotReadError
Source§impl Display for SnapshotReadError
impl Display for SnapshotReadError
impl Eq for SnapshotReadError
Source§impl Error for SnapshotReadError
impl Error for SnapshotReadError
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()
Source§impl PartialEq for SnapshotReadError
impl PartialEq for SnapshotReadError
impl StructuralPartialEq for SnapshotReadError
Auto Trait Implementations§
impl Freeze for SnapshotReadError
impl RefUnwindSafe for SnapshotReadError
impl Send for SnapshotReadError
impl Sync for SnapshotReadError
impl Unpin for SnapshotReadError
impl UnsafeUnpin for SnapshotReadError
impl UnwindSafe for SnapshotReadError
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