pub struct EncryptionKeySize(/* private fields */);
Expand description
Encryption key size, in bytes.
Implementations§
Source§impl EncryptionKeySize
impl EncryptionKeySize
Sourcepub fn with_value(sz: usize) -> Result<Self, EncryptionKeySizeError>
pub fn with_value(sz: usize) -> Result<Self, EncryptionKeySizeError>
Trait Implementations§
Source§impl Clone for EncryptionKeySize
impl Clone for EncryptionKeySize
Source§fn clone(&self) -> EncryptionKeySize
fn clone(&self) -> EncryptionKeySize
Returns a duplicate 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 EncryptionKeySize
impl Debug for EncryptionKeySize
Source§impl PartialEq for EncryptionKeySize
impl PartialEq for EncryptionKeySize
impl Copy for EncryptionKeySize
impl StructuralPartialEq for EncryptionKeySize
Auto Trait Implementations§
impl Freeze for EncryptionKeySize
impl RefUnwindSafe for EncryptionKeySize
impl Send for EncryptionKeySize
impl Sync for EncryptionKeySize
impl Unpin for EncryptionKeySize
impl UnwindSafe for EncryptionKeySize
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