Enum nix::sys::termios::BaudRate [−][src]
#[repr(u32)]pub enum BaudRate { B0, B50, B75, B110, B134, B150, B200, B300, B600, B1200, B1800, B2400, B4800, B9600, B19200, B38400, B57600, B115200, B230400, B460800, B500000, B576000, B921600, B1000000, B1152000, B1500000, B2000000, B2500000, B3000000, B3500000, B4000000, }
Baud rates supported by the system
B0 is special and will disable the port.
Variants
B0
B50
B75
B110
B134
B150
B200
B300
B600
B1200
B1800
B2400
B4800
B9600
B19200
B38400
B57600
B115200
B230400
B460800
B500000
B576000
B921600
B1000000
B1152000
B1500000
B2000000
B2500000
B3000000
B3500000
B4000000
Trait Implementations
impl Clone for BaudRate
[src]
impl Clone for BaudRate
fn clone(&self) -> BaudRate
[src]
fn clone(&self) -> BaudRate
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Copy for BaudRate
[src]
impl Copy for BaudRate
impl Debug for BaudRate
[src]
impl Debug for BaudRate
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for BaudRate
[src]
impl PartialEq for BaudRate
fn eq(&self, other: &BaudRate) -> bool
[src]
fn eq(&self, other: &BaudRate) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Eq for BaudRate
[src]
impl Eq for BaudRate
impl From<speed_t> for BaudRate
[src]
impl From<speed_t> for BaudRate