Enum Baudrate
pub enum Baudrate<A> {
Hal(A),
_2400,
_4800,
_9600,
_19200,
_38400,
_57600,
_115200,
}Available on crate feature
uart only.Expand description
Common UART baud rates.
Variants§
Hal(A)
HAL-specific baud rate.
_2400
2400 baud.
_4800
4800 baud.
_9600
9600 baud.
_19200
19200 baud.
_38400
38400 baud.
_57600
57600 baud.
_115200
115200 baud.
Trait Implementations§
impl<A> Copy for Baudrate<A>where
A: Copy,
impl<A> Eq for Baudrate<A>where
A: Eq,
impl<A> StructuralPartialEq for Baudrate<A>
Auto Trait Implementations§
impl<A> Freeze for Baudrate<A>where
A: Freeze,
impl<A> RefUnwindSafe for Baudrate<A>where
A: RefUnwindSafe,
impl<A> Send for Baudrate<A>where
A: Send,
impl<A> Sync for Baudrate<A>where
A: Sync,
impl<A> Unpin for Baudrate<A>where
A: Unpin,
impl<A> UnwindSafe for Baudrate<A>where
A: UnwindSafe,
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