[][src]Enum nix::sys::termios::BaudRate

#[repr(u32)]
pub enum BaudRate {
    B0,
    B50,
    B75,
    B110,
    B134,
    B150,
    B200,
    B300,
    B600,
    B1200,
    B1800,
    B2400,
    B4800,
    B7200,
    B9600,
    B14400,
    B19200,
    B28800,
    B38400,
    B57600,
    B76800,
    B115200,
    B230400,
    B460800,
    B921600,
}

Baud rates supported by the system.

For the BSDs, arbitrary baud rates can be specified by using u32s directly instead of this enum.

B0 is special and will disable the port.

Variants

B0
B50
B75
B110
B134
B150
B200
B300
B600
B1200
B1800
B2400
B4800
B7200
B9600
B14400
B19200
B28800
B38400
B57600
B76800
B115200
B230400
B460800
B921600

Trait Implementations

impl From<BaudRate> for u32[src]

impl Clone for BaudRate[src]

impl Copy for BaudRate[src]

impl Eq for BaudRate[src]

impl Ord for BaudRate[src]

impl PartialEq<BaudRate> for BaudRate[src]

impl PartialOrd<BaudRate> for BaudRate[src]

impl Debug for BaudRate[src]

impl TryFrom<u32> for BaudRate[src]

type Error = Error

The type returned in the event of a conversion error.

impl Hash for BaudRate[src]

impl StructuralPartialEq for BaudRate[src]

impl StructuralEq for BaudRate[src]

Auto Trait Implementations

impl Send for BaudRate

impl Sync for BaudRate

impl Unpin for BaudRate

impl UnwindSafe for BaudRate

impl RefUnwindSafe for BaudRate

Blanket Implementations

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

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

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 = !

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<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]