#[repr(u32)]pub enum Type {
Show 38 variants
Aes = 2_684_354_576,
Des = 2_684_354_577,
Des3 = 2_684_354_579,
Md5 = 2_684_354_561,
HmacSha1 = 2_684_354_562,
HmacSha224 = 2_684_354_563,
HmacSha256 = 2_684_354_564,
HmacSha384 = 2_684_354_565,
HmacSha512 = 2_684_354_566,
HmacSm3 = 2_684_354_567,
HmacSha3_224 = 2_684_354_568,
HmacSha3_256 = 2_684_354_569,
HmacSha3_384 = 2_684_354_570,
HmacSha3_512 = 2_684_354_571,
RsaPublicKey = 2_684_354_608,
RsaKeypair = 2_701_131_824,
DsaPublicKey = 2_684_354_609,
DsaKeypair = 2_701_131_825,
DhKeypair = 2_701_131_826,
EcdsaPublicKey = 2_684_354_625,
EcdsaKeypair = 2_701_131_841,
EcdhPublicKey = 2_684_354_626,
EcdhKeypair = 2_701_131_842,
Ed25519PublicKey = 2_684_354_627,
Ed25519Keypair = 2_701_131_843,
X25519PublicKey = 2_684_354_628,
X25519Keypair = 2_701_131_844,
Sm2DsaPublicKey = 2_684_354_629,
Sm2DsaKeypair = 2_701_131_845,
Sm2KepPublicKey = 2_684_354_630,
Sm2KepKeypair = 2_701_131_846,
Sm2PkePublicKey = 2_684_354_631,
Sm2PkeKeypair = 2_701_131_847,
Sm4 = 2_684_354_580,
Hkdf = 2_684_354_634,
GenericSecret = 2_684_354_560,
CorruptedObject = 2_684_354_750,
Data = 2_684_354_751,
}
Variants§
Aes = 2_684_354_576
Des = 2_684_354_577
Des3 = 2_684_354_579
Md5 = 2_684_354_561
HmacSha1 = 2_684_354_562
HmacSha224 = 2_684_354_563
HmacSha256 = 2_684_354_564
HmacSha384 = 2_684_354_565
HmacSha512 = 2_684_354_566
HmacSm3 = 2_684_354_567
HmacSha3_224 = 2_684_354_568
HmacSha3_256 = 2_684_354_569
HmacSha3_384 = 2_684_354_570
HmacSha3_512 = 2_684_354_571
RsaPublicKey = 2_684_354_608
RsaKeypair = 2_701_131_824
DsaPublicKey = 2_684_354_609
DsaKeypair = 2_701_131_825
DhKeypair = 2_701_131_826
EcdsaPublicKey = 2_684_354_625
EcdsaKeypair = 2_701_131_841
EcdhPublicKey = 2_684_354_626
EcdhKeypair = 2_701_131_842
Ed25519PublicKey = 2_684_354_627
Ed25519Keypair = 2_701_131_843
X25519PublicKey = 2_684_354_628
X25519Keypair = 2_701_131_844
Sm2DsaPublicKey = 2_684_354_629
Sm2DsaKeypair = 2_701_131_845
Sm2KepPublicKey = 2_684_354_630
Sm2KepKeypair = 2_701_131_846
Sm2PkePublicKey = 2_684_354_631
Sm2PkeKeypair = 2_701_131_847
Sm4 = 2_684_354_580
Hkdf = 2_684_354_634
GenericSecret = 2_684_354_560
CorruptedObject = 2_684_354_750
Data = 2_684_354_751
Trait Implementations§
Source§impl FromPrimitive for Type
impl FromPrimitive for Type
Source§fn from_i64(n: i64) -> Option<Self>
fn from_i64(n: i64) -> Option<Self>
Converts an
i64
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.Source§fn from_u64(n: u64) -> Option<Self>
fn from_u64(n: u64) -> Option<Self>
Converts an
u64
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.Source§fn from_isize(n: isize) -> Option<Self>
fn from_isize(n: isize) -> Option<Self>
Converts an
isize
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.Source§fn from_i8(n: i8) -> Option<Self>
fn from_i8(n: i8) -> Option<Self>
Converts an
i8
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.Source§fn from_i16(n: i16) -> Option<Self>
fn from_i16(n: i16) -> Option<Self>
Converts an
i16
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.Source§fn from_i32(n: i32) -> Option<Self>
fn from_i32(n: i32) -> Option<Self>
Converts an
i32
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.Source§fn from_i128(n: i128) -> Option<Self>
fn from_i128(n: i128) -> Option<Self>
Converts an
i128
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read moreSource§fn from_usize(n: usize) -> Option<Self>
fn from_usize(n: usize) -> Option<Self>
Converts a
usize
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.Source§fn from_u8(n: u8) -> Option<Self>
fn from_u8(n: u8) -> Option<Self>
Converts an
u8
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.Source§fn from_u16(n: u16) -> Option<Self>
fn from_u16(n: u16) -> Option<Self>
Converts an
u16
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.Source§fn from_u32(n: u32) -> Option<Self>
fn from_u32(n: u32) -> Option<Self>
Converts an
u32
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.Source§fn from_u128(n: u128) -> Option<Self>
fn from_u128(n: u128) -> Option<Self>
Converts an
u128
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read moreimpl Copy for Type
impl Eq for Type
impl StructuralPartialEq for Type
Auto Trait Implementations§
impl Freeze for Type
impl RefUnwindSafe for Type
impl Send for Type
impl Sync for Type
impl Unpin for Type
impl UnwindSafe for Type
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)