Enum nix::sys::termios::BaudRate
#[repr(u32)]
#[non_exhaustive]
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,
}Documentation
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
B0B50B75B110B134B150B200B300B600B1200B1800B2400B4800B9600B19200B38400B57600B115200B230400B460800B500000B576000B921600B1000000B1152000B1500000B2000000B2500000B3000000B3500000B4000000Trait Implementations
impl Debug for BaudRate
fn fmt(&Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Resultimpl Hash for BaudRate
fn hash<__H: $crate::hash::Hasher>(&Self, state: &mut __H) -> ()impl Ord for BaudRate
fn cmp(&Self, other: &BaudRate) -> $crate::cmp::Orderingimpl PartialOrd<BaudRate> for BaudRate
fn partial_cmp(&Self, other: &BaudRate) -> $crate::option::Option<$crate::cmp::Ordering>impl StructuralEq for BaudRateimpl StructuralPartialEq for BaudRateAuto Trait Implementations
impl RefUnwindSafe for BaudRateimpl UnwindSafe for BaudRateBlanket Implementations
impl<T> BorrowMut<T> for T
where
T: ?Sized,
where
T: ?Sized,
fn borrow_mut(&mut Self) -> &mut T