#[repr(u16)]pub enum Baud {
B115200 = 1,
B57600 = 2,
B38400 = 3,
B19200 = 6,
B9600 = 12,
B4800 = 24,
B2400 = 48,
B1200 = 96,
B300 = 384,
B50 = 2_304,
}Expand description
Serial port speed, measured in bauds.
Variants§
B115200 = 1
B57600 = 2
B38400 = 3
B19200 = 6
B9600 = 12
B4800 = 24
B2400 = 48
B1200 = 96
B300 = 384
B50 = 2_304
Trait Implementations§
impl Copy for Baud
impl Eq for Baud
impl StructuralPartialEq for Baud
Auto Trait Implementations§
impl Freeze for Baud
impl RefUnwindSafe for Baud
impl Send for Baud
impl Sync for Baud
impl Unpin for Baud
impl UnwindSafe for Baud
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more