#[repr(u64)]pub enum MechanismType {
Show 327 variants
RsaPkcsKeyPairGen = 0,
RsaPkcs = 1,
Rsa9796 = 2,
RsaX509 = 3,
Md2RsaPkcs = 4,
Md5RsaPkcs = 5,
Sha1RsaPkcs = 6,
Ripemd128RsaPkcs = 7,
Ripemd160RsaPkcs = 8,
RsaPkcsOaep = 9,
RsaX931KeyPairGen = 10,
RsaX931 = 11,
Sha1RsaX931 = 12,
RsaPkcsPss = 13,
Sha1RsaPkcsPss = 14,
DsaKeyPairGen = 16,
Dsa = 17,
DsaSha1 = 18,
DsaSha224 = 19,
DsaSha256 = 20,
DsaSha384 = 21,
DsaSha512 = 22,
DhPkcsKeyPairGen = 32,
DhPkcsDerive = 33,
X942DhKeyPairGen = 48,
X942DhDerive = 49,
X942DhHybridDerive = 50,
X942MqvDerive = 51,
Sha256RsaPkcs = 64,
Sha384RsaPkcs = 65,
Sha512RsaPkcs = 66,
Sha256RsaPkcsPss = 67,
Sha384RsaPkcsPss = 68,
Sha512RsaPkcsPss = 69,
Sha512224 = 72,
Sha512224Hmac = 73,
Sha512224HmacGeneral = 74,
Sha512224KeyDerivation = 75,
Sha512256 = 76,
Sha512256Hmac = 77,
Sha512256HmacGeneral = 78,
Sha512256KeyDerivation = 79,
Sha512T = 80,
Sha512THmac = 81,
Sha512THmacGeneral = 82,
Sha512TKeyDerivation = 83,
Rc2KeyGen = 256,
Rc2Ecb = 257,
Rc2Cbc = 258,
Rc2Mac = 259,
Rc2MacGeneral = 260,
Rc2CbcPad = 261,
Rc4KeyGen = 272,
Rc4 = 273,
DesKeyGen = 288,
DesEcb = 289,
DesCbc = 290,
DesMac = 291,
DesMacGeneral = 292,
DesCbcPad = 293,
Des2KeyGen = 304,
Des3KeyGen = 305,
Des3Ecb = 306,
Des3Cbc = 307,
Des3Mac = 308,
Des3MacGeneral = 309,
Des3CbcPad = 310,
Des3CmacGeneral = 311,
Des3Cmac = 312,
CdmfKeyGen = 320,
CdmfEcb = 321,
CdmfCbc = 322,
CdmfMac = 323,
CdmfMacGeneral = 324,
CdmfCbcPad = 325,
DesOfb64 = 336,
DesOfb8 = 337,
DesCfb64 = 338,
DesCfb8 = 339,
Md2 = 512,
Md2Hmac = 513,
Md2HmacGeneral = 514,
Md5 = 528,
Md5Hmac = 529,
Md5HmacGeneral = 530,
Sha1 = 544,
Sha1Hmac = 545,
Sha1HmacGeneral = 546,
Ripemd128 = 560,
Ripemd128Hmac = 561,
Ripemd128HmacGeneral = 562,
Ripemd160 = 576,
Ripemd160Hmac = 577,
Ripemd160HmacGeneral = 578,
Sha256 = 592,
Sha256Hmac = 593,
Sha256HmacGeneral = 594,
Sha384 = 608,
Sha384Hmac = 609,
Sha384HmacGeneral = 610,
Sha512 = 624,
Sha512Hmac = 625,
Sha512HmacGeneral = 626,
SecuridKeyGen = 640,
Securid = 642,
HotpKeyGen = 656,
Hotp = 657,
Acti = 672,
ActiKeyGen = 673,
CastKeyGen = 768,
CastEcb = 769,
CastCbc = 770,
CastMac = 771,
CastMacGeneral = 772,
CastCbcPad = 773,
Cast3KeyGen = 784,
Cast3Ecb = 785,
Cast3Cbc = 786,
Cast3Mac = 787,
Cast3MacGeneral = 788,
Cast3CbcPad = 789,
Cast128KeyGen = 800,
Cast128Ecb = 801,
Cast128Cbc = 802,
Cast128Mac = 803,
Cast128MacGeneral = 804,
Cast128CbcPad = 805,
Rc5KeyGen = 816,
Rc5Ecb = 817,
Rc5Cbc = 818,
Rc5Mac = 819,
Rc5MacGeneral = 820,
Rc5CbcPad = 821,
IdeaKeyGen = 832,
IdeaEcb = 833,
IdeaCbc = 834,
IdeaMac = 835,
IdeaMacGeneral = 836,
IdeaCbcPad = 837,
GenericSecretKeyGen = 848,
ConcatenateBaseAndKey = 864,
ConcatenateBaseAndData = 866,
ConcatenateDataAndBase = 867,
XorBaseAndData = 868,
ExtractKeyFromKey = 869,
Ssl3PreMasterKeyGen = 880,
Ssl3MasterKeyDerive = 881,
Ssl3KeyAndMacDerive = 882,
Ssl3MasterKeyDeriveDh = 883,
TlsPreMasterKeyGen = 884,
TlsMasterKeyDerive = 885,
TlsKeyAndMacDerive = 886,
TlsMasterKeyDeriveDh = 887,
TlsPrf = 888,
Ssl3Md5Mac = 896,
Ssl3Sha1Mac = 897,
Md5KeyDerivation = 912,
Md2KeyDerivation = 913,
Sha1KeyDerivation = 914,
Sha256KeyDerivation = 915,
Sha384KeyDerivation = 916,
Sha512KeyDerivation = 917,
PbeMd2DesCbc = 928,
PbeMd5DesCbc = 929,
PbeMd5CastCbc = 930,
PbeMd5Cast3Cbc = 931,
PbeMd5Cast128Cbc = 932,
PbeSha1Cast128Cbc = 933,
PbeSha1Rc4128 = 934,
PbeSha1Rc440 = 935,
PbeSha1Des3EdeCbc = 936,
PbeSha1Des2EdeCbc = 937,
PbeSha1Rc2128Cbc = 938,
PbeSha1Rc240Cbc = 939,
Pkcs5Pbkd2 = 944,
PbaSha1WithSha1Hmac = 960,
WtlsPreMasterKeyGen = 976,
WtlsMasterKeyDerive = 977,
WtlsMasterKeyDeriveDhEcc = 978,
WtlsPrf = 979,
WtlsServerKeyAndMacDerive = 980,
WtlsClientKeyAndMacDerive = 981,
Tls10MacServer = 982,
Tls10MacClient = 983,
Tls12Mac = 984,
Tls12Kdf = 985,
Tls12MasterKeyDerive = 992,
Tls12KeyAndMacDerive = 993,
Tls12MasterKeyDeriveDh = 994,
Tls12KeySafeDerive = 995,
TlsMac = 996,
TlsKdf = 997,
KeyWrapLynks = 1_024,
KeyWrapSetOaep = 1_025,
CmsSig = 1_280,
KipDerive = 1_296,
KipWrap = 1_297,
KipMac = 1_298,
CamelliaKeyGen = 1_360,
CamelliaCtr = 1_368,
AriaKeyGen = 1_376,
AriaEcb = 1_377,
AriaCbc = 1_378,
AriaMac = 1_379,
AriaMacGeneral = 1_380,
AriaCbcPad = 1_381,
AriaEcbEncryptData = 1_382,
AriaCbcEncryptData = 1_383,
SeedKeyGen = 1_616,
SeedEcb = 1_617,
SeedCbc = 1_618,
SeedMac = 1_619,
SeedMacGeneral = 1_620,
SeedCbcPad = 1_621,
SeedEcbEncryptData = 1_622,
SeedCbcEncryptData = 1_623,
SkipjackKeyGen = 4_096,
SkipjackEcb64 = 4_097,
SkipjackCbc64 = 4_098,
SkipjackOfb64 = 4_099,
SkipjackCfb64 = 4_100,
SkipjackCfb32 = 4_101,
SkipjackCfb16 = 4_102,
SkipjackCfb8 = 4_103,
SkipjackWrap = 4_104,
SkipjackPrivateWrap = 4_105,
SkipjackRelayx = 4_106,
KeaKeyPairGen = 4_112,
KeaKeyDerive = 4_113,
FortezzaTimestamp = 4_128,
BatonKeyGen = 4_144,
BatonEcb128 = 4_145,
BatonEcb96 = 4_146,
BatonCbc128 = 4_147,
BatonCounter = 4_148,
BatonShuffle = 4_149,
BatonWrap = 4_150,
EcKeyPairGen = 4_160,
Ecdsa = 4_161,
EcdsaSha1 = 4_162,
EcdsaSha224 = 4_163,
EcdsaSha256 = 4_164,
EcdsaSha384 = 4_165,
EcdsaSha512 = 4_166,
Ecdh1Derive = 4_176,
Ecdh1CofactorDerive = 4_177,
EcmqvDerive = 4_178,
EcdhAesKeyWrap = 4_179,
RsaAesKeyWrap = 4_180,
JuniperKeyGen = 4_192,
JuniperEcb128 = 4_193,
JuniperCbc128 = 4_194,
JuniperCounter = 4_195,
JuniperShuffle = 4_196,
JuniperWrap = 4_197,
Fasthash = 4_208,
AesKeyGen = 4_224,
AesEcb = 4_225,
AesCbc = 4_226,
AesMac = 4_227,
AesMacGeneral = 4_228,
AesCbcPad = 4_229,
AesCtr = 4_230,
AesGcm = 4_231,
AesCcm = 4_232,
AesCts = 4_233,
AesCmac = 4_234,
AesCmacGeneral = 4_235,
AesXcbcMac = 4_236,
AesXcbcMac96 = 4_237,
AesGmac = 4_238,
BlowfishKeyGen = 4_240,
BlowfishCbc = 4_241,
TwofishKeyGen = 4_242,
TwofishCbc = 4_243,
BlowfishCbcPad = 4_244,
TwofishCbcPad = 4_245,
DesEcbEncryptData = 4_352,
DesCbcEncryptData = 4_353,
Des3EcbEncryptData = 4_354,
Des3CbcEncryptData = 4_355,
AesEcbEncryptData = 4_356,
AesCbcEncryptData = 4_357,
Gostr3410KeyPairGen = 4_608,
Gostr3410 = 4_609,
Gostr3410WithGostr3411 = 4_610,
Gostr3410KeyWrap = 4_611,
Gostr3410Derive = 4_612,
Gostr3411 = 4_624,
Gostr3411Hmac = 4_625,
Gost28147KeyGen = 4_640,
Gost28147Ecb = 4_641,
Gost28147 = 4_642,
Gost28147Mac = 4_643,
Gost28147KeyWrap = 4_644,
DsaParameterGen = 8_192,
DhPkcsParameterGen = 8_193,
X942DhParameterGen = 8_194,
DsaProbablisticParameterGen = 8_195,
DsaShaweTaylorParameterGen = 8_196,
AesOfb = 8_452,
AesCfb64 = 8_453,
AesCfb8 = 8_454,
AesCfb128 = 8_455,
AesCfb1 = 8_456,
Sha224 = 597,
Sha224Hmac = 598,
Sha224HmacGeneral = 599,
Sha224RsaPkcs = 70,
Sha224RsaPkcsPss = 71,
Sha224KeyDerivation = 918,
CamelliaEcb = 1_361,
CamelliaCbc = 1_362,
CamelliaMac = 1_363,
CamelliaMacGeneral = 1_364,
CamelliaCbcPad = 1_365,
CamelliaEcbEncryptData = 1_366,
CamelliaCbcEncryptData = 1_367,
AesKeyWrap = 8_457,
AesKeyWrapPad = 8_458,
RsaPkcsTpm1_1 = 16_385,
RsaPkcsOaepTpm1_1 = 16_386,
EcEdwardsKeyPairGen = 4_181,
EcMontgomeryKeyPairGen = 4_182,
Eddsa = 4_183,
VendorDefined = 2_147_483_648,
UnknownMechanismType(u64),
}
Variants§
RsaPkcsKeyPairGen = 0
RsaPkcs = 1
Rsa9796 = 2
RsaX509 = 3
Md2RsaPkcs = 4
Md5RsaPkcs = 5
Sha1RsaPkcs = 6
Ripemd128RsaPkcs = 7
Ripemd160RsaPkcs = 8
RsaPkcsOaep = 9
RsaX931KeyPairGen = 10
RsaX931 = 11
Sha1RsaX931 = 12
RsaPkcsPss = 13
Sha1RsaPkcsPss = 14
DsaKeyPairGen = 16
Dsa = 17
DsaSha1 = 18
DsaSha224 = 19
DsaSha256 = 20
DsaSha384 = 21
DsaSha512 = 22
DhPkcsKeyPairGen = 32
DhPkcsDerive = 33
X942DhKeyPairGen = 48
X942DhDerive = 49
X942DhHybridDerive = 50
X942MqvDerive = 51
Sha256RsaPkcs = 64
Sha384RsaPkcs = 65
Sha512RsaPkcs = 66
Sha256RsaPkcsPss = 67
Sha384RsaPkcsPss = 68
Sha512RsaPkcsPss = 69
Sha512224 = 72
Sha512224Hmac = 73
Sha512224HmacGeneral = 74
Sha512224KeyDerivation = 75
Sha512256 = 76
Sha512256Hmac = 77
Sha512256HmacGeneral = 78
Sha512256KeyDerivation = 79
Sha512T = 80
Sha512THmac = 81
Sha512THmacGeneral = 82
Sha512TKeyDerivation = 83
Rc2KeyGen = 256
Rc2Ecb = 257
Rc2Cbc = 258
Rc2Mac = 259
Rc2MacGeneral = 260
Rc2CbcPad = 261
Rc4KeyGen = 272
Rc4 = 273
DesKeyGen = 288
DesEcb = 289
DesCbc = 290
DesMac = 291
DesMacGeneral = 292
DesCbcPad = 293
Des2KeyGen = 304
Des3KeyGen = 305
Des3Ecb = 306
Des3Cbc = 307
Des3Mac = 308
Des3MacGeneral = 309
Des3CbcPad = 310
Des3CmacGeneral = 311
Des3Cmac = 312
CdmfKeyGen = 320
CdmfEcb = 321
CdmfCbc = 322
CdmfMac = 323
CdmfMacGeneral = 324
CdmfCbcPad = 325
DesOfb64 = 336
DesOfb8 = 337
DesCfb64 = 338
DesCfb8 = 339
Md2 = 512
Md2Hmac = 513
Md2HmacGeneral = 514
Md5 = 528
Md5Hmac = 529
Md5HmacGeneral = 530
Sha1 = 544
Sha1Hmac = 545
Sha1HmacGeneral = 546
Ripemd128 = 560
Ripemd128Hmac = 561
Ripemd128HmacGeneral = 562
Ripemd160 = 576
Ripemd160Hmac = 577
Ripemd160HmacGeneral = 578
Sha256 = 592
Sha256Hmac = 593
Sha256HmacGeneral = 594
Sha384 = 608
Sha384Hmac = 609
Sha384HmacGeneral = 610
Sha512 = 624
Sha512Hmac = 625
Sha512HmacGeneral = 626
SecuridKeyGen = 640
Securid = 642
HotpKeyGen = 656
Hotp = 657
Acti = 672
ActiKeyGen = 673
CastKeyGen = 768
CastEcb = 769
CastCbc = 770
CastMac = 771
CastMacGeneral = 772
CastCbcPad = 773
Cast3KeyGen = 784
Cast3Ecb = 785
Cast3Cbc = 786
Cast3Mac = 787
Cast3MacGeneral = 788
Cast3CbcPad = 789
Cast128KeyGen = 800
Cast128Ecb = 801
Cast128Cbc = 802
Cast128Mac = 803
Cast128MacGeneral = 804
Cast128CbcPad = 805
Rc5KeyGen = 816
Rc5Ecb = 817
Rc5Cbc = 818
Rc5Mac = 819
Rc5MacGeneral = 820
Rc5CbcPad = 821
IdeaKeyGen = 832
IdeaEcb = 833
IdeaCbc = 834
IdeaMac = 835
IdeaMacGeneral = 836
IdeaCbcPad = 837
GenericSecretKeyGen = 848
ConcatenateBaseAndKey = 864
ConcatenateBaseAndData = 866
ConcatenateDataAndBase = 867
XorBaseAndData = 868
ExtractKeyFromKey = 869
Ssl3PreMasterKeyGen = 880
Ssl3MasterKeyDerive = 881
Ssl3KeyAndMacDerive = 882
Ssl3MasterKeyDeriveDh = 883
TlsPreMasterKeyGen = 884
TlsMasterKeyDerive = 885
TlsKeyAndMacDerive = 886
TlsMasterKeyDeriveDh = 887
TlsPrf = 888
Ssl3Md5Mac = 896
Ssl3Sha1Mac = 897
Md5KeyDerivation = 912
Md2KeyDerivation = 913
Sha1KeyDerivation = 914
Sha256KeyDerivation = 915
Sha384KeyDerivation = 916
Sha512KeyDerivation = 917
PbeMd2DesCbc = 928
PbeMd5DesCbc = 929
PbeMd5CastCbc = 930
PbeMd5Cast3Cbc = 931
PbeMd5Cast128Cbc = 932
PbeSha1Cast128Cbc = 933
PbeSha1Rc4128 = 934
PbeSha1Rc440 = 935
PbeSha1Des3EdeCbc = 936
PbeSha1Des2EdeCbc = 937
PbeSha1Rc2128Cbc = 938
PbeSha1Rc240Cbc = 939
Pkcs5Pbkd2 = 944
PbaSha1WithSha1Hmac = 960
WtlsPreMasterKeyGen = 976
WtlsMasterKeyDerive = 977
WtlsMasterKeyDeriveDhEcc = 978
WtlsPrf = 979
WtlsServerKeyAndMacDerive = 980
WtlsClientKeyAndMacDerive = 981
Tls10MacServer = 982
Tls10MacClient = 983
Tls12Mac = 984
Tls12Kdf = 985
Tls12MasterKeyDerive = 992
Tls12KeyAndMacDerive = 993
Tls12MasterKeyDeriveDh = 994
Tls12KeySafeDerive = 995
TlsMac = 996
TlsKdf = 997
KeyWrapLynks = 1_024
KeyWrapSetOaep = 1_025
CmsSig = 1_280
KipDerive = 1_296
KipWrap = 1_297
KipMac = 1_298
CamelliaKeyGen = 1_360
CamelliaCtr = 1_368
AriaKeyGen = 1_376
AriaEcb = 1_377
AriaCbc = 1_378
AriaMac = 1_379
AriaMacGeneral = 1_380
AriaCbcPad = 1_381
AriaEcbEncryptData = 1_382
AriaCbcEncryptData = 1_383
SeedKeyGen = 1_616
SeedEcb = 1_617
SeedCbc = 1_618
SeedMac = 1_619
SeedMacGeneral = 1_620
SeedCbcPad = 1_621
SeedEcbEncryptData = 1_622
SeedCbcEncryptData = 1_623
SkipjackKeyGen = 4_096
SkipjackEcb64 = 4_097
SkipjackCbc64 = 4_098
SkipjackOfb64 = 4_099
SkipjackCfb64 = 4_100
SkipjackCfb32 = 4_101
SkipjackCfb16 = 4_102
SkipjackCfb8 = 4_103
SkipjackWrap = 4_104
SkipjackPrivateWrap = 4_105
SkipjackRelayx = 4_106
KeaKeyPairGen = 4_112
KeaKeyDerive = 4_113
FortezzaTimestamp = 4_128
BatonKeyGen = 4_144
BatonEcb128 = 4_145
BatonEcb96 = 4_146
BatonCbc128 = 4_147
BatonCounter = 4_148
BatonShuffle = 4_149
BatonWrap = 4_150
EcKeyPairGen = 4_160
Ecdsa = 4_161
EcdsaSha1 = 4_162
EcdsaSha224 = 4_163
EcdsaSha256 = 4_164
EcdsaSha384 = 4_165
EcdsaSha512 = 4_166
Ecdh1Derive = 4_176
Ecdh1CofactorDerive = 4_177
EcmqvDerive = 4_178
EcdhAesKeyWrap = 4_179
RsaAesKeyWrap = 4_180
JuniperKeyGen = 4_192
JuniperEcb128 = 4_193
JuniperCbc128 = 4_194
JuniperCounter = 4_195
JuniperShuffle = 4_196
JuniperWrap = 4_197
Fasthash = 4_208
AesKeyGen = 4_224
AesEcb = 4_225
AesCbc = 4_226
AesMac = 4_227
AesMacGeneral = 4_228
AesCbcPad = 4_229
AesCtr = 4_230
AesGcm = 4_231
AesCcm = 4_232
AesCts = 4_233
AesCmac = 4_234
AesCmacGeneral = 4_235
AesXcbcMac = 4_236
AesXcbcMac96 = 4_237
AesGmac = 4_238
BlowfishKeyGen = 4_240
BlowfishCbc = 4_241
TwofishKeyGen = 4_242
TwofishCbc = 4_243
BlowfishCbcPad = 4_244
TwofishCbcPad = 4_245
DesEcbEncryptData = 4_352
DesCbcEncryptData = 4_353
Des3EcbEncryptData = 4_354
Des3CbcEncryptData = 4_355
AesEcbEncryptData = 4_356
AesCbcEncryptData = 4_357
Gostr3410KeyPairGen = 4_608
Gostr3410 = 4_609
Gostr3410WithGostr3411 = 4_610
Gostr3410KeyWrap = 4_611
Gostr3410Derive = 4_612
Gostr3411 = 4_624
Gostr3411Hmac = 4_625
Gost28147KeyGen = 4_640
Gost28147Ecb = 4_641
Gost28147 = 4_642
Gost28147Mac = 4_643
Gost28147KeyWrap = 4_644
DsaParameterGen = 8_192
DhPkcsParameterGen = 8_193
X942DhParameterGen = 8_194
DsaProbablisticParameterGen = 8_195
DsaShaweTaylorParameterGen = 8_196
AesOfb = 8_452
AesCfb64 = 8_453
AesCfb8 = 8_454
AesCfb128 = 8_455
AesCfb1 = 8_456
Sha224 = 597
Sha224Hmac = 598
Sha224HmacGeneral = 599
Sha224RsaPkcs = 70
Sha224RsaPkcsPss = 71
Sha224KeyDerivation = 918
CamelliaEcb = 1_361
CamelliaCbc = 1_362
CamelliaMac = 1_363
CamelliaMacGeneral = 1_364
CamelliaCbcPad = 1_365
CamelliaEcbEncryptData = 1_366
CamelliaCbcEncryptData = 1_367
AesKeyWrap = 8_457
AesKeyWrapPad = 8_458
RsaPkcsTpm1_1 = 16_385
RsaPkcsOaepTpm1_1 = 16_386
EcEdwardsKeyPairGen = 4_181
EcMontgomeryKeyPairGen = 4_182
Eddsa = 4_183
VendorDefined = 2_147_483_648
UnknownMechanismType(u64)
Trait Implementations§
Source§impl Clone for MechanismType
impl Clone for MechanismType
Source§fn clone(&self) -> MechanismType
fn clone(&self) -> MechanismType
Returns a copy 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 MechanismType
impl Debug for MechanismType
Source§impl<'de> Deserialize<'de> for MechanismType
impl<'de> Deserialize<'de> for MechanismType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<MechanismType> for AttrData
impl From<MechanismType> for AttrData
Source§fn from(val: MechanismType) -> Self
fn from(val: MechanismType) -> Self
Converts to this type from the input type.
Source§impl From<MechanismType> for MechanismType
impl From<MechanismType> for MechanismType
Source§impl From<MechanismType> for u64
impl From<MechanismType> for u64
Source§fn from(enum_value: MechanismType) -> Self
fn from(enum_value: MechanismType) -> Self
Converts to this type from the input type.
Source§impl From<u64> for MechanismType
impl From<u64> for MechanismType
Source§impl FromPrimitive for MechanismType
impl FromPrimitive for MechanismType
Source§impl Hash for MechanismType
impl Hash for MechanismType
Source§impl PartialEq for MechanismType
impl PartialEq for MechanismType
Source§impl Serialize for MechanismType
impl Serialize for MechanismType
Source§impl TryFrom<&AttrData> for MechanismType
impl TryFrom<&AttrData> for MechanismType
Source§impl TryFrom<MechanismType> for MechanismType
impl TryFrom<MechanismType> for MechanismType
impl Copy for MechanismType
impl Eq for MechanismType
impl StructuralPartialEq for MechanismType
Auto Trait Implementations§
impl Freeze for MechanismType
impl RefUnwindSafe for MechanismType
impl Send for MechanismType
impl Sync for MechanismType
impl Unpin for MechanismType
impl UnwindSafe for MechanismType
Blanket Implementations§
§impl<T> Annotate for T
impl<T> Annotate for T
default fn format( &self, _variant: Option<&str>, _field: &MemberId<'_>, ) -> Option<Format>
default fn comment( &self, _variant: Option<&str>, _field: &MemberId<'_>, ) -> Option<String>
default fn as_annotate(&self) -> Option<&dyn Annotate>
default fn thunk_serialize( &self, serializer: &mut AnnotatedSerializer<'_>, ) -> Result<Document, Error>
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.