pub enum AdmissionError {
Invalid,
Key(StableKeyError),
Duplicate,
Unauthorized,
Limit,
}Expand description
Invalid host declarations or grants; no allocation authority has been granted.
Variants§
Invalid
Invalid owner label or namespace.
Key(StableKeyError)
Stable-key grammar failure.
Duplicate
Duplicate or overlapping declaration/grant.
The host has not granted this owner the key’s namespace.
Limit
Historical selection is unknown or exceeds the configured count.
Trait Implementations§
Source§impl Clone for AdmissionError
impl Clone for AdmissionError
Source§impl Debug for AdmissionError
impl Debug for AdmissionError
Source§impl Display for AdmissionError
impl Display for AdmissionError
impl Eq for AdmissionError
Source§impl Error for AdmissionError
impl Error for AdmissionError
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<E> From<AdmissionError> for RuntimeBootstrapError<E>
impl<E> From<AdmissionError> for RuntimeBootstrapError<E>
Source§fn from(source: AdmissionError) -> Self
fn from(source: AdmissionError) -> Self
Converts to this type from the input type.
Source§impl From<StableKeyError> for AdmissionError
impl From<StableKeyError> for AdmissionError
Source§fn from(source: StableKeyError) -> Self
fn from(source: StableKeyError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for AdmissionError
impl PartialEq for AdmissionError
impl StructuralPartialEq for AdmissionError
Auto Trait Implementations§
impl Freeze for AdmissionError
impl RefUnwindSafe for AdmissionError
impl Send for AdmissionError
impl Sync for AdmissionError
impl Unpin for AdmissionError
impl UnsafeUnpin for AdmissionError
impl UnwindSafe for AdmissionError
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