Enum domain::tsig::ValidationError
source · [−]pub enum ValidationError {
BadAlg,
BadOther,
BadSig,
BadTrunc,
BadKey,
BadTime,
FormErr,
ServerUnsigned,
ServerBadKey,
ServerBadSig,
ServerBadTime {
client: Time48,
server: Time48,
},
TooManyUnsigned,
}
Available on crate feature
tsig
only.Expand description
An error happened while validating a TSIG-signed message.
Variants
BadAlg
BadOther
BadSig
BadTrunc
BadKey
BadTime
FormErr
ServerUnsigned
ServerBadKey
ServerBadSig
ServerBadTime
TooManyUnsigned
Trait Implementations
sourceimpl Clone for ValidationError
impl Clone for ValidationError
sourcefn clone(&self) -> ValidationError
fn clone(&self) -> ValidationError
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 more
sourceimpl Debug for ValidationError
impl Debug for ValidationError
sourceimpl Display for ValidationError
impl Display for ValidationError
sourceimpl Error for ValidationError
impl Error for ValidationError
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<ParseError> for ValidationError
impl From<ParseError> for ValidationError
sourcefn from(_: ParseError) -> Self
fn from(_: ParseError) -> Self
Converts to this type from the input type.
impl Copy for ValidationError
Auto Trait Implementations
impl RefUnwindSafe for ValidationError
impl Send for ValidationError
impl Sync for ValidationError
impl Unpin for ValidationError
impl UnwindSafe for ValidationError
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
sourceimpl<Source, Target> OctetsInto<Target> for Sourcewhere
Target: OctetsFrom<Source>,
impl<Source, Target> OctetsInto<Target> for Sourcewhere
Target: OctetsFrom<Source>,
sourcefn octets_into(self) -> Result<Target, ShortBuf>
fn octets_into(self) -> Result<Target, ShortBuf>
Performs the conversion.