pub enum SecurityLevel {
Level1 = 1,
Level3 = 3,
Level4 = 4,
Level5 = 5,
}Expand description
Security levels for cryptographic algorithms
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for SecurityLevel
impl Clone for SecurityLevel
Source§fn clone(&self) -> SecurityLevel
fn clone(&self) -> SecurityLevel
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 moreSource§impl Debug for SecurityLevel
impl Debug for SecurityLevel
Source§impl<'de> Deserialize<'de> for SecurityLevel
impl<'de> Deserialize<'de> for SecurityLevel
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<SecurityLevel> for JsValue
impl From<SecurityLevel> for JsValue
Source§fn from(value: SecurityLevel) -> Self
fn from(value: SecurityLevel) -> Self
Converts to this type from the input type.
Source§impl FromWasmAbi for SecurityLevel
impl FromWasmAbi for SecurityLevel
Source§impl Hash for SecurityLevel
impl Hash for SecurityLevel
Source§impl IntoWasmAbi for SecurityLevel
impl IntoWasmAbi for SecurityLevel
Source§impl OptionFromWasmAbi for SecurityLevel
impl OptionFromWasmAbi for SecurityLevel
Source§impl OptionIntoWasmAbi for SecurityLevel
impl OptionIntoWasmAbi for SecurityLevel
Source§impl PartialEq for SecurityLevel
impl PartialEq for SecurityLevel
Source§fn eq(&self, other: &SecurityLevel) -> bool
fn eq(&self, other: &SecurityLevel) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SecurityLevel
impl Serialize for SecurityLevel
Source§impl TryFromJsValue for SecurityLevel
impl TryFromJsValue for SecurityLevel
Source§impl VectorFromWasmAbi for SecurityLevel
impl VectorFromWasmAbi for SecurityLevel
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[SecurityLevel]>
Source§impl VectorIntoWasmAbi for SecurityLevel
impl VectorIntoWasmAbi for SecurityLevel
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[SecurityLevel]>) -> Self::Abi
Source§impl WasmDescribeVector for SecurityLevel
impl WasmDescribeVector for SecurityLevel
impl Copy for SecurityLevel
impl Eq for SecurityLevel
impl StructuralPartialEq for SecurityLevel
Auto Trait Implementations§
impl Freeze for SecurityLevel
impl RefUnwindSafe for SecurityLevel
impl Send for SecurityLevel
impl Sync for SecurityLevel
impl Unpin for SecurityLevel
impl UnsafeUnpin for SecurityLevel
impl UnwindSafe for SecurityLevel
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.