#[non_exhaustive]pub enum RefusalReason {
AnonymousActor,
ExpectActorMismatch,
GateRefusal,
StrictOpFailure,
ParseError,
VerbRefused,
}Expand description
Stable reason attached to a refused kkernel exec invocation or operation.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
AnonymousActor
The resolved actor was anonymous where attribution was required.
ExpectActorMismatch
The resolved actor did not match --expect-actor.
GateRefusal
A write was refused by the content secret gate.
StrictOpFailure
--strict observed at least one failed or aborted operation.
ParseError
The supplied operation expression could not be parsed.
VerbRefused
The requested verb was unknown or was not loaded.
Implementations§
Source§impl RefusalReason
impl RefusalReason
Trait Implementations§
Source§impl Clone for RefusalReason
impl Clone for RefusalReason
Source§fn clone(&self) -> RefusalReason
fn clone(&self) -> RefusalReason
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RefusalReason
Source§impl Debug for RefusalReason
impl Debug for RefusalReason
Source§impl Display for RefusalReason
impl Display for RefusalReason
impl Eq for RefusalReason
Source§impl FromStr for RefusalReason
impl FromStr for RefusalReason
Source§impl Hash for RefusalReason
impl Hash for RefusalReason
Source§impl PartialEq for RefusalReason
impl PartialEq for RefusalReason
impl StructuralPartialEq for RefusalReason
Auto Trait Implementations§
impl Freeze for RefusalReason
impl RefUnwindSafe for RefusalReason
impl Send for RefusalReason
impl Sync for RefusalReason
impl Unpin for RefusalReason
impl UnsafeUnpin for RefusalReason
impl UnwindSafe for RefusalReason
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