Enum sawp_dns::enums::SshfpAlgorithm
source · [−]#[repr(u8)]
pub enum SshfpAlgorithm {
RESERVED,
RSA,
DSA,
ECDSA,
Ed25519,
UNKNOWN,
}
Variants
RESERVED
RSA
DSA
ECDSA
Ed25519
UNKNOWN
Implementations
sourceimpl SshfpAlgorithm
impl SshfpAlgorithm
Trait Implementations
sourceimpl Clone for SshfpAlgorithm
impl Clone for SshfpAlgorithm
sourcefn clone(&self) -> SshfpAlgorithm
fn clone(&self) -> SshfpAlgorithm
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 SshfpAlgorithm
impl Debug for SshfpAlgorithm
sourceimpl PartialEq<SshfpAlgorithm> for SshfpAlgorithm
impl PartialEq<SshfpAlgorithm> for SshfpAlgorithm
sourceimpl TryFrom<u8> for SshfpAlgorithm
impl TryFrom<u8> for SshfpAlgorithm
type Error = TryFromPrimitiveError<SshfpAlgorithm>
type Error = TryFromPrimitiveError<SshfpAlgorithm>
The type returned in the event of a conversion error.
sourcefn try_from(number: u8) -> Result<Self, TryFromPrimitiveError<Self>>
fn try_from(number: u8) -> Result<Self, TryFromPrimitiveError<Self>>
Performs the conversion.
sourceimpl TryFromPrimitive for SshfpAlgorithm
impl TryFromPrimitive for SshfpAlgorithm
type Primitive = u8
const NAME: &'static str = "SshfpAlgorithm"
fn try_from_primitive(
number: Self::Primitive
) -> Result<Self, TryFromPrimitiveError<Self>>
impl Copy for SshfpAlgorithm
impl StructuralPartialEq for SshfpAlgorithm
Auto Trait Implementations
impl RefUnwindSafe for SshfpAlgorithm
impl Send for SshfpAlgorithm
impl Sync for SshfpAlgorithm
impl Unpin for SshfpAlgorithm
impl UnwindSafe for SshfpAlgorithm
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more