Struct dns_protocol::InvalidCode
source · [−]pub struct InvalidCode(_);
Expand description
The given value is not a valid code.
Implementations
sourceimpl InvalidCode
impl InvalidCode
Trait Implementations
sourceimpl Clone for InvalidCode
impl Clone for InvalidCode
sourcefn clone(&self) -> InvalidCode
fn clone(&self) -> InvalidCode
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for InvalidCode
impl Debug for InvalidCode
sourceimpl Display for InvalidCode
impl Display for InvalidCode
sourceimpl Error for InvalidCode
impl Error for InvalidCode
1.30.0 · sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
sourceimpl From<InvalidCode> for Error
impl From<InvalidCode> for Error
sourcefn from(err: InvalidCode) -> Self
fn from(err: InvalidCode) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl RefUnwindSafe for InvalidCode
impl Send for InvalidCode
impl Sync for InvalidCode
impl Unpin for InvalidCode
impl UnwindSafe for InvalidCode
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more