#[non_exhaustive]pub enum CapabilityErrorKind {
Unsupported,
NotFound,
Expired,
Conflict,
Limit,
Transport,
Storage,
Invalid,
}Expand description
A stable category for a capability failure.
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.
Trait Implementations§
Source§impl Clone for CapabilityErrorKind
impl Clone for CapabilityErrorKind
impl Copy for CapabilityErrorKind
Source§impl Debug for CapabilityErrorKind
impl Debug for CapabilityErrorKind
impl Eq for CapabilityErrorKind
Source§impl PartialEq for CapabilityErrorKind
impl PartialEq for CapabilityErrorKind
impl StructuralPartialEq for CapabilityErrorKind
Auto Trait Implementations§
impl Freeze for CapabilityErrorKind
impl RefUnwindSafe for CapabilityErrorKind
impl Send for CapabilityErrorKind
impl Sync for CapabilityErrorKind
impl Unpin for CapabilityErrorKind
impl UnsafeUnpin for CapabilityErrorKind
impl UnwindSafe for CapabilityErrorKind
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