[][src]Struct bluetooth_mesh::net::PECB

pub struct PECB(_);

Methods

impl PECB[src]

pub fn new_bytes(bytes: [u8; 6]) -> Self[src]

pub fn xor(&self, bytes: &mut [u8])[src]

XOR PECB with bytes in-place.

Panics

Panics if bytes.len() != PECB_LEN (6)

Trait Implementations

impl AsRef<[u8]> for PECB[src]

impl Clone for PECB[src]

impl Copy for PECB[src]

impl Debug for PECB[src]

impl Eq for PECB[src]

impl Hash for PECB[src]

impl Ord for PECB[src]

impl PartialEq<PECB> for PECB[src]

impl PartialOrd<PECB> for PECB[src]

impl StructuralEq for PECB[src]

impl StructuralPartialEq for PECB[src]

Auto Trait Implementations

impl RefUnwindSafe for PECB

impl Send for PECB

impl Sync for PECB

impl Unpin for PECB

impl UnwindSafe for PECB

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