pub enum AlgorithmFamily {
HMAC,
EC,
RSA,
OKP,
None,
}Expand description
Algorithm family of Algorithm
Variants§
HMAC
crate::algorithms::Algorithm::HS256
crate::algorithms::Algorithm::HS384
crate::algorithms::Algorithm::HS512
EC
crate::algorithms::Algorithm::ES256
crate::algorithms::Algorithm::ES384
crate::algorithms::Algorithm::ES512
crate::algorithms::Algorithm::ES256K
RSA
crate::algorithms::Algorithm::RS256
crate::algorithms::Algorithm::RS384
crate::algorithms::Algorithm::RS512
crate::algorithms::Algorithm::PS256
crate::algorithms::Algorithm::PS384
crate::algorithms::Algorithm::PS512
OKP
None
Implementations§
Trait Implementations§
Source§impl From<AlgorithmFamily> for JsValue
impl From<AlgorithmFamily> for JsValue
Source§fn from(value: AlgorithmFamily) -> Self
fn from(value: AlgorithmFamily) -> Self
Converts to this type from the input type.
Source§impl FromWasmAbi for AlgorithmFamily
impl FromWasmAbi for AlgorithmFamily
Source§impl IntoWasmAbi for AlgorithmFamily
impl IntoWasmAbi for AlgorithmFamily
Source§impl OptionFromWasmAbi for AlgorithmFamily
impl OptionFromWasmAbi for AlgorithmFamily
Source§impl OptionIntoWasmAbi for AlgorithmFamily
impl OptionIntoWasmAbi for AlgorithmFamily
Source§impl TryFromJsValue for AlgorithmFamily
impl TryFromJsValue for AlgorithmFamily
Source§fn try_from_js_value(
value: JsValue,
) -> Result<Self, <AlgorithmFamily as TryFromJsValue>::Error>
fn try_from_js_value( value: JsValue, ) -> Result<Self, <AlgorithmFamily as TryFromJsValue>::Error>
Performs the conversion.
Source§impl VectorFromWasmAbi for AlgorithmFamily
impl VectorFromWasmAbi for AlgorithmFamily
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[AlgorithmFamily]>
Source§impl VectorIntoJsValue for AlgorithmFamily
impl VectorIntoJsValue for AlgorithmFamily
fn vector_into_jsvalue(vector: Box<[AlgorithmFamily]>) -> JsValue
Source§impl VectorIntoWasmAbi for AlgorithmFamily
impl VectorIntoWasmAbi for AlgorithmFamily
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[AlgorithmFamily]>) -> Self::Abi
Source§impl WasmDescribeVector for AlgorithmFamily
impl WasmDescribeVector for AlgorithmFamily
Auto Trait Implementations§
impl Freeze for AlgorithmFamily
impl RefUnwindSafe for AlgorithmFamily
impl Send for AlgorithmFamily
impl Sync for AlgorithmFamily
impl Unpin for AlgorithmFamily
impl UnwindSafe for AlgorithmFamily
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> 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.