pub enum NameParseError {
NameLabelTooLong,
NameTooLong,
}Variants§
Trait Implementations§
Source§impl Debug for NameParseError
impl Debug for NameParseError
Source§impl Display for NameParseError
impl Display for NameParseError
Source§impl Error for NameParseError
impl Error for NameParseError
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<NameParseError> for TypeDataParseError
impl From<NameParseError> for TypeDataParseError
Source§fn from(source: NameParseError) -> Self
fn from(source: NameParseError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for NameParseError
impl RefUnwindSafe for NameParseError
impl Send for NameParseError
impl Sync for NameParseError
impl Unpin for NameParseError
impl UnwindSafe for NameParseError
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