[][src]Struct bluetooth_mesh::crypto::key::DevKey

pub struct DevKey(_);

Methods

impl DevKey[src]

#[must_use] pub fn new_bytes(key_bytes: [u8; 16]) -> Self[src]

#[must_use] pub fn new(key: Key) -> Self[src]

#[must_use] pub fn from_hex(hex: &str) -> Option<Self>[src]

#[must_use] pub fn from_salt_and_secret(salt: ProvisioningSalt, secret: ECDHSecret) -> Self[src]

#[must_use] pub fn key(&self) -> Key[src]

#[must_use] pub const fn akf() -> AKF[src]

Trait Implementations

impl AsRef<Key> for DevKey[src]

impl Clone for DevKey[src]

impl Copy for DevKey[src]

impl Debug for DevKey[src]

impl Eq for DevKey[src]

impl From<DevKey> for Key[src]

impl From<Key> for DevKey[src]

impl Hash for DevKey[src]

impl Ord for DevKey[src]

impl PartialEq<DevKey> for DevKey[src]

impl PartialOrd<DevKey> for DevKey[src]

impl Randomizable for DevKey[src]

impl StructuralEq for DevKey[src]

impl StructuralPartialEq for DevKey[src]

impl<'_> TryFrom<&'_ [u8]> for DevKey[src]

type Error = TryFromSliceError

The type returned in the event of a conversion error.

Auto Trait Implementations

impl RefUnwindSafe for DevKey

impl Send for DevKey

impl Sync for DevKey

impl Unpin for DevKey

impl UnwindSafe for DevKey

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Randomizable for T where
    Standard: Distribution<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,