#[repr(u16)]pub enum NamingError {
NotFound = 1,
AlreadyExists = 2,
WrongNameKind = 3,
AlreadyBound = 4,
LinkLoop = 6,
NotEmpty = 7,
}
Variants§
Trait Implementations§
Source§impl Clone for NamingError
impl Clone for NamingError
Source§fn clone(&self) -> NamingError
fn clone(&self) -> NamingError
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for NamingError
impl Debug for NamingError
Source§impl Display for NamingError
impl Display for NamingError
Source§impl Error for NamingError
impl Error for NamingError
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 From<NamingError> for TwzError
impl From<NamingError> for TwzError
Source§fn from(value: NamingError) -> Self
fn from(value: NamingError) -> Self
Converts to this type from the input type.
Source§impl Hash for NamingError
impl Hash for NamingError
Source§impl Ord for NamingError
impl Ord for NamingError
Source§fn cmp(&self, other: &NamingError) -> Ordering
fn cmp(&self, other: &NamingError) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for NamingError
impl PartialEq for NamingError
Source§impl PartialOrd for NamingError
impl PartialOrd for NamingError
impl Copy for NamingError
impl Eq for NamingError
impl StructuralPartialEq for NamingError
Auto Trait Implementations§
impl Freeze for NamingError
impl RefUnwindSafe for NamingError
impl Send for NamingError
impl Sync for NamingError
impl Unpin for NamingError
impl UnwindSafe for NamingError
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