#[repr(usize)]
pub enum SecParam {
B128,
B256,
}
Expand description
Security parameter. Choice of 128 or 256 bits.
Variants
B128
B256
Trait Implementations
sourceimpl<'de> Deserialize<'de> for SecParam
impl<'de> Deserialize<'de> for SecParam
sourcefn 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
impl Copy for SecParam
Auto Trait Implementations
impl RefUnwindSafe for SecParam
impl Send for SecParam
impl Sync for SecParam
impl Unpin for SecParam
impl UnwindSafe for SecParam
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more