#[repr(u8)]pub enum AlgorithmType {
Show 17 variants
Reserved = 0,
RsaMd5 = 1,
DiffiHellman = 2,
DsaSha1 = 3,
EllipticCurve = 4,
RsaSha1 = 5,
DsaNsec3 = 6,
RsaSha1Nsec3Sha1 = 7,
RsaSha256 = 8,
GostR = 12,
EcDsaP256 = 13,
EcDsaP386 = 14,
Ed25519 = 15,
Ed448 = 16,
Indirect = 252,
PrivateDns = 253,
PrivateOid = 254,
}
Expand description
https://www.iana.org/assignments/dns-sec-alg-numbers/dns-sec-alg-numbers.xhtml
Variants§
Reserved = 0
RsaMd5 = 1
DiffiHellman = 2
DsaSha1 = 3
EllipticCurve = 4
RsaSha1 = 5
DsaNsec3 = 6
RsaSha1Nsec3Sha1 = 7
RsaSha256 = 8
GostR = 12
EcDsaP256 = 13
EcDsaP386 = 14
Ed25519 = 15
Ed448 = 16
Indirect = 252
PrivateDns = 253
PrivateOid = 254
Trait Implementations§
Source§impl Clone for AlgorithmType
impl Clone for AlgorithmType
Source§fn clone(&self) -> AlgorithmType
fn clone(&self) -> AlgorithmType
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for AlgorithmType
impl Debug for AlgorithmType
Source§impl Display for AlgorithmType
impl Display for AlgorithmType
Source§impl Hash for AlgorithmType
impl Hash for AlgorithmType
Source§impl PartialEq for AlgorithmType
impl PartialEq for AlgorithmType
Source§impl TryFrom<u8> for AlgorithmType
impl TryFrom<u8> for AlgorithmType
impl Copy for AlgorithmType
impl Eq for AlgorithmType
impl StructuralPartialEq for AlgorithmType
Auto Trait Implementations§
impl Freeze for AlgorithmType
impl RefUnwindSafe for AlgorithmType
impl Send for AlgorithmType
impl Sync for AlgorithmType
impl Unpin for AlgorithmType
impl UnwindSafe for AlgorithmType
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