Struct stm32wb_hci::vendor::stm32wb::command::gatt::EncryptionKeySize
source · pub struct EncryptionKeySize(_);Expand description
Encryption key size, in bytes.
Implementations§
source§impl EncryptionKeySize
impl EncryptionKeySize
sourcepub async fn with_value(sz: usize) -> Result<Self, EncryptionKeySizeError>
pub async 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 copy 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<EncryptionKeySize> for EncryptionKeySize
impl PartialEq<EncryptionKeySize> for EncryptionKeySize
source§fn eq(&self, other: &EncryptionKeySize) -> bool
fn eq(&self, other: &EncryptionKeySize) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for EncryptionKeySize
impl StructuralPartialEq for EncryptionKeySize
Auto Trait Implementations§
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