#[non_exhaustive]pub enum DeregisterError {
NoSuchInterface,
}Expand description
An error when deregistering an interface
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.
NoSuchInterface
Trait Implementations§
Source§impl Debug for DeregisterError
impl Debug for DeregisterError
Source§impl PartialEq for DeregisterError
impl PartialEq for DeregisterError
impl Eq for DeregisterError
impl StructuralPartialEq for DeregisterError
Auto Trait Implementations§
impl Freeze for DeregisterError
impl RefUnwindSafe for DeregisterError
impl Send for DeregisterError
impl Sync for DeregisterError
impl Unpin for DeregisterError
impl UnwindSafe for DeregisterError
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