Enum AlgorithmCategory
pub enum AlgorithmCategory {
Kem,
Signature,
Hash,
Aead,
PrivacyProtocol,
}Expand description
Algorithm categories
Variants§
Kem
Signature
Hash
Aead
PrivacyProtocol
Anonymous credentials, mix-layer transport helpers, and related ZKP-adjacent protocols.
Trait Implementations§
§impl Clone for AlgorithmCategory
impl Clone for AlgorithmCategory
§fn clone(&self) -> AlgorithmCategory
fn clone(&self) -> AlgorithmCategory
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for AlgorithmCategory
impl Debug for AlgorithmCategory
§impl<'de> Deserialize<'de> for AlgorithmCategory
impl<'de> Deserialize<'de> for AlgorithmCategory
§fn deserialize<__D>(
__deserializer: __D,
) -> Result<AlgorithmCategory, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<AlgorithmCategory, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl Display for AlgorithmCategory
impl Display for AlgorithmCategory
§impl From<AlgorithmCategory> for JsValue
impl From<AlgorithmCategory> for JsValue
§fn from(value: AlgorithmCategory) -> JsValue
fn from(value: AlgorithmCategory) -> JsValue
Converts to this type from the input type.
§impl FromWasmAbi for AlgorithmCategory
impl FromWasmAbi for AlgorithmCategory
§impl IntoWasmAbi for AlgorithmCategory
impl IntoWasmAbi for AlgorithmCategory
§impl OptionFromWasmAbi for AlgorithmCategory
impl OptionFromWasmAbi for AlgorithmCategory
§fn is_none(val: &<AlgorithmCategory as FromWasmAbi>::Abi) -> bool
fn is_none(val: &<AlgorithmCategory as FromWasmAbi>::Abi) -> bool
Tests whether the argument is a “none” instance. If so it will be
deserialized as
None, and otherwise it will be passed to
FromWasmAbi.§impl OptionIntoWasmAbi for AlgorithmCategory
impl OptionIntoWasmAbi for AlgorithmCategory
§fn none() -> <AlgorithmCategory as IntoWasmAbi>::Abi
fn none() -> <AlgorithmCategory as IntoWasmAbi>::Abi
Returns an ABI instance indicating “none”, which JS will interpret as
the
None branch of this option. Read more§impl PartialEq for AlgorithmCategory
impl PartialEq for AlgorithmCategory
§fn eq(&self, other: &AlgorithmCategory) -> bool
fn eq(&self, other: &AlgorithmCategory) -> bool
Tests for
self and other values to be equal, and is used by ==.§impl Serialize for AlgorithmCategory
impl Serialize for AlgorithmCategory
§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
§impl TryFromJsValue for AlgorithmCategory
impl TryFromJsValue for AlgorithmCategory
§fn try_from_js_value_ref(value: &JsValue) -> Option<AlgorithmCategory>
fn try_from_js_value_ref(value: &JsValue) -> Option<AlgorithmCategory>
Performs the conversion.
§impl VectorFromWasmAbi for AlgorithmCategory
impl VectorFromWasmAbi for AlgorithmCategory
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi( js: <AlgorithmCategory as VectorFromWasmAbi>::Abi, ) -> Box<[AlgorithmCategory]>
§impl VectorIntoWasmAbi for AlgorithmCategory
impl VectorIntoWasmAbi for AlgorithmCategory
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi( vector: Box<[AlgorithmCategory]>, ) -> <AlgorithmCategory as VectorIntoWasmAbi>::Abi
impl Copy for AlgorithmCategory
impl Eq for AlgorithmCategory
impl StructuralPartialEq for AlgorithmCategory
Auto Trait Implementations§
impl Freeze for AlgorithmCategory
impl RefUnwindSafe for AlgorithmCategory
impl Send for AlgorithmCategory
impl Sync for AlgorithmCategory
impl Unpin for AlgorithmCategory
impl UnsafeUnpin for AlgorithmCategory
impl UnwindSafe for AlgorithmCategory
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§impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
Source§type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as
IntoWasmAbi::AbiSource§fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
Same as
IntoWasmAbi::into_abi, except that it may throw and never
return in the case of Err.