[][src]Enum mbus_api::models::Baudrate

#[repr(C)]pub enum Baudrate {
    _300,
    _600,
    _1200,
    _2400,
    _4800,
    _9600,
}

Baudrate to use for the communication - valid values 300, 600, 1200, 2400, 4800, 9600 Enumeration of values. Since this enum's variants do not hold data, we can easily define them them as #[repr(C)] which helps with FFI.

Variants

_300
_600
_1200
_2400
_4800
_9600

Trait Implementations

impl Clone for Baudrate[src]

impl Copy for Baudrate[src]

impl Debug for Baudrate[src]

impl<'de> Deserialize<'de> for Baudrate[src]

impl Display for Baudrate[src]

impl Eq for Baudrate[src]

impl FromStr for Baudrate[src]

type Err = String

The associated error which can be returned from parsing.

impl Ord for Baudrate[src]

impl PartialEq<Baudrate> for Baudrate[src]

impl PartialOrd<Baudrate> for Baudrate[src]

impl Serialize for Baudrate[src]

impl StructuralEq for Baudrate[src]

impl StructuralPartialEq for Baudrate[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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

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