[][src]Struct bluetooth_mesh::net::PrivacyRandom

pub struct PrivacyRandom<'a>(_);

Methods

impl<'_> PrivacyRandom<'_>[src]

pub fn new_bytes(bytes: &[u8]) -> PrivacyRandom[src]

Panics

Panics if bytes.len() != PRIVACY_RANDOM_LEN

pub fn pack_with_iv(&self, iv_index: IVIndex) -> PackedPrivacy[src]

Trait Implementations

impl<'a> Clone for PrivacyRandom<'a>[src]

impl<'a> Copy for PrivacyRandom<'a>[src]

impl<'a> Debug for PrivacyRandom<'a>[src]

impl<'a> Eq for PrivacyRandom<'a>[src]

impl<'a: 'b, 'b> From<EncryptedPDU<'a>> for PrivacyRandom<'b>[src]

impl<'a> Hash for PrivacyRandom<'a>[src]

impl<'a> Ord for PrivacyRandom<'a>[src]

impl<'a> PartialEq<PrivacyRandom<'a>> for PrivacyRandom<'a>[src]

impl<'a> PartialOrd<PrivacyRandom<'a>> for PrivacyRandom<'a>[src]

impl<'a> StructuralEq for PrivacyRandom<'a>[src]

impl<'a> StructuralPartialEq for PrivacyRandom<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for PrivacyRandom<'a>

impl<'a> Send for PrivacyRandom<'a>

impl<'a> Sync for PrivacyRandom<'a>

impl<'a> Unpin for PrivacyRandom<'a>

impl<'a> UnwindSafe for PrivacyRandom<'a>

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> 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>,