pub enum RefusalCause {
MissingGrant,
RenewedWithoutGrant,
Expired,
WrongAudience,
Signature,
RestrictedPlacement,
HotMode,
DeliberateUnavailable,
}Expand description
Typed cause retained beside the common wire envelope.
Variants§
MissingGrant
No applicable grant reaches the target.
RenewedWithoutGrant
The newly issued machine pass contains no applicable link grant.
Expired
The admitted pass is no longer current.
WrongAudience
The pass was issued for another product.
Signature
Offline signature verification failed.
RestrictedPlacement
An ancestor’s grant does not flow through this placement.
HotMode
A draft or two-person mode cannot authorize hot work.
A deliberate decision cannot be made from a cached pass.
Trait Implementations§
Source§impl Clone for RefusalCause
impl Clone for RefusalCause
impl Copy for RefusalCause
Source§impl Debug for RefusalCause
impl Debug for RefusalCause
Source§impl Display for RefusalCause
impl Display for RefusalCause
impl Eq for RefusalCause
Source§impl Error for RefusalCause
impl Error for RefusalCause
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 RefusalCause
impl PartialEq for RefusalCause
impl StructuralPartialEq for RefusalCause
Auto Trait Implementations§
impl Freeze for RefusalCause
impl RefUnwindSafe for RefusalCause
impl Send for RefusalCause
impl Sync for RefusalCause
impl Unpin for RefusalCause
impl UnsafeUnpin for RefusalCause
impl UnwindSafe for RefusalCause
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.