Enum domain::tsig::NewKeyError
source · [−]pub enum NewKeyError {
BadMinMacLen,
BadSigningLen,
}
Available on crate feature
tsig
only.Expand description
A key couldn’t be created.
Variants
BadMinMacLen
BadSigningLen
Trait Implementations
sourceimpl Clone for NewKeyError
impl Clone for NewKeyError
sourcefn clone(&self) -> NewKeyError
fn clone(&self) -> NewKeyError
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 NewKeyError
impl Debug for NewKeyError
sourceimpl Display for NewKeyError
impl Display for NewKeyError
sourceimpl Error for NewKeyError
impl Error for NewKeyError
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<NewKeyError> for GenerateKeyError
impl From<NewKeyError> for GenerateKeyError
sourcefn from(err: NewKeyError) -> Self
fn from(err: NewKeyError) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<NewKeyError> for NewKeyError
impl PartialEq<NewKeyError> for NewKeyError
sourcefn eq(&self, other: &NewKeyError) -> bool
fn eq(&self, other: &NewKeyError) -> bool
impl Copy for NewKeyError
impl Eq for NewKeyError
impl StructuralEq for NewKeyError
impl StructuralPartialEq for NewKeyError
Auto Trait Implementations
impl RefUnwindSafe for NewKeyError
impl Send for NewKeyError
impl Sync for NewKeyError
impl Unpin for NewKeyError
impl UnwindSafe for NewKeyError
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.