pub enum PushError {
LongLabel,
LongName,
}Expand description
An error happened while trying to push data to a domain name builder.
Variants§
LongLabel
The current label would exceed the limit of 63 bytes.
LongName
The name would exceed the limit of 255 bytes.
Trait Implementations§
Source§impl Fail for PushError
impl Fail for PushError
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 From<PushError> for FromStrError
impl From<PushError> for FromStrError
Source§fn from(err: PushError) -> FromStrError
fn from(err: PushError) -> FromStrError
Converts to this type from the input type.
impl Copy for PushError
impl Eq for PushError
impl StructuralPartialEq for PushError
Auto Trait Implementations§
impl Freeze for PushError
impl RefUnwindSafe for PushError
impl Send for PushError
impl Sync for PushError
impl Unpin for PushError
impl UnwindSafe for PushError
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