[][src]Struct bluetooth_mesh::foundation::state::DefaultTTLState

pub struct DefaultTTLState(_);

Methods

impl DefaultTTLState[src]

pub fn new(v: u8) -> DefaultTTLState[src]

pub fn try_new(v: u8) -> Option<DefaultTTLState>[src]

Tries to create a new DefaultTTL from a u8. Will return None if v==0x01 || (0x80 < v <= 0xFF).

Trait Implementations

impl Clone for DefaultTTLState[src]

impl Copy for DefaultTTLState[src]

impl Debug for DefaultTTLState[src]

impl Default for DefaultTTLState[src]

impl Eq for DefaultTTLState[src]

impl From<DefaultTTLState> for u8[src]

impl Hash for DefaultTTLState[src]

impl Ord for DefaultTTLState[src]

impl PartialEq<DefaultTTLState> for DefaultTTLState[src]

impl PartialOrd<DefaultTTLState> for DefaultTTLState[src]

impl StructuralEq for DefaultTTLState[src]

impl StructuralPartialEq for DefaultTTLState[src]

impl TryFrom<u8> for DefaultTTLState[src]

type Error = DefaultTTLStateError

The type returned in the event of a conversion error.

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