pub enum AddNamespaceError {
Conflict(u32),
OutOfRange(u32),
}Expand description
Error returned when a namespace cannot be added.
Variants§
Conflict(u32)
A namespace with this ID already exists.
OutOfRange(u32)
The namespace ID is outside the valid range supported by the
subsystem (see the NN field of Identify Controller).
Trait Implementations§
Source§impl Debug for AddNamespaceError
impl Debug for AddNamespaceError
Source§impl Display for AddNamespaceError
impl Display for AddNamespaceError
Source§impl Error for AddNamespaceError
impl Error for AddNamespaceError
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()
Auto Trait Implementations§
impl Freeze for AddNamespaceError
impl RefUnwindSafe for AddNamespaceError
impl Send for AddNamespaceError
impl Sync for AddNamespaceError
impl Unpin for AddNamespaceError
impl UnsafeUnpin for AddNamespaceError
impl UnwindSafe for AddNamespaceError
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