pub enum DnameBytesError {
ParseError(DnameParseError),
RelativeName,
TrailingData,
}Expand description
An error happened while converting a bytes value into a domain name.
Variants§
Trait Implementations§
Source§impl Clone for DnameBytesError
impl Clone for DnameBytesError
Source§fn clone(&self) -> DnameBytesError
fn clone(&self) -> DnameBytesError
Returns a duplicate 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 DnameBytesError
impl Debug for DnameBytesError
Source§impl Display for DnameBytesError
impl Display for DnameBytesError
Source§impl Fail for DnameBytesError
impl Fail for DnameBytesError
Source§fn cause(&self) -> Option<&dyn Fail>
fn cause(&self) -> Option<&dyn Fail>
Returns a reference to the underlying cause of this failure, if it
is an error that wraps other errors. Read more
Source§fn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
Returns a reference to the
Backtrace carried by this failure, if it
carries one. Read moreSource§impl<T: Into<DnameParseError>> From<T> for DnameBytesError
impl<T: Into<DnameParseError>> From<T> for DnameBytesError
Source§fn from(err: T) -> DnameBytesError
fn from(err: T) -> DnameBytesError
Converts to this type from the input type.
Source§impl PartialEq for DnameBytesError
impl PartialEq for DnameBytesError
impl Copy for DnameBytesError
impl Eq for DnameBytesError
impl StructuralPartialEq for DnameBytesError
Auto Trait Implementations§
impl Freeze for DnameBytesError
impl RefUnwindSafe for DnameBytesError
impl Send for DnameBytesError
impl Sync for DnameBytesError
impl Unpin for DnameBytesError
impl UnwindSafe for DnameBytesError
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