pub enum ControlAuthorityError {
RequestMismatch,
ContextMismatch(&'static str),
TargetMismatch,
CallerNotController,
ObservationLimitExceeded {
limit: u32,
reported: u32,
},
}Expand description
Typed denial; no mismatch changes a plan/journal or admits any paid effect.
Variants§
RequestMismatch
Original intent/operation/payload/challenge/ceiling differs.
ContextMismatch(&'static str)
Actually observed context differs.
TargetMismatch
Actually observed target differs.
CallerNotController
Exact selected caller is absent; other access does not grant this lane.
ObservationLimitExceeded
Actual reported remote calls exceed the descriptive ceiling.
Trait Implementations§
Source§impl Debug for ControlAuthorityError
impl Debug for ControlAuthorityError
Source§impl Display for ControlAuthorityError
impl Display for ControlAuthorityError
impl Eq for ControlAuthorityError
Source§impl Error for ControlAuthorityError
impl Error for ControlAuthorityError
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 ControlAuthorityError
impl PartialEq for ControlAuthorityError
impl StructuralPartialEq for ControlAuthorityError
Auto Trait Implementations§
impl Freeze for ControlAuthorityError
impl RefUnwindSafe for ControlAuthorityError
impl Send for ControlAuthorityError
impl Sync for ControlAuthorityError
impl Unpin for ControlAuthorityError
impl UnsafeUnpin for ControlAuthorityError
impl UnwindSafe for ControlAuthorityError
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