[][src]Enum bluetooth_mesh::control::ControlOpcode

#[repr(u8)]
pub enum ControlOpcode {
    Ack,
    FriendPoll,
    FriendUpdate,
    FriendRequest,
    FriendOffer,
    FriendClear,
    FriendClearConfirm,
    FriendSubscriptionListAdd,
    FriendSubscriptionListRemove,
    FriendSubscriptionListConfirm,
    Heartbeat,
}

7 Bit Control Opcode

Variants

Ack
FriendPoll
FriendUpdate
FriendRequest
FriendOffer
FriendClear
FriendClearConfirm
FriendSubscriptionListAdd
FriendSubscriptionListRemove
FriendSubscriptionListConfirm
Heartbeat

Methods

impl ControlOpcode[src]

pub fn new(opcode: u8) -> Option<Self>[src]

Trait Implementations

impl Clone for ControlOpcode[src]

impl Copy for ControlOpcode[src]

impl Debug for ControlOpcode[src]

impl Eq for ControlOpcode[src]

impl From<ControlOpcode> for u8[src]

impl Hash for ControlOpcode[src]

impl Ord for ControlOpcode[src]

impl PartialEq<ControlOpcode> for ControlOpcode[src]

impl PartialOrd<ControlOpcode> for ControlOpcode[src]

impl StructuralEq for ControlOpcode[src]

impl StructuralPartialEq for ControlOpcode[src]

Auto Trait Implementations

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