[][src]Enum bluetooth_mesh::foundation::publication::StepResolution

pub enum StepResolution {
    Milliseconds100,
    Second1,
    Second10,
    Minute10,
}

2-bit Step Resoution used for PublishPeriod, etc.

Variants

Milliseconds100
Second1
Second10
Minute10

Methods

impl StepResolution[src]

pub fn to_milliseconds(&self) -> u32[src]

Trait Implementations

impl Clone for StepResolution[src]

impl Copy for StepResolution[src]

impl Debug for StepResolution[src]

impl Eq for StepResolution[src]

impl From<StepResolution> for u8[src]

impl Hash for StepResolution[src]

impl Ord for StepResolution[src]

impl PartialEq<StepResolution> for StepResolution[src]

impl PartialOrd<StepResolution> for StepResolution[src]

impl StructuralEq for StepResolution[src]

impl StructuralPartialEq for StepResolution[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>,