Enum tokio_serial::StopBits
pub enum StopBits {
One,
Two,
}
Expand description
Number of stop bits
Stop bits are transmitted after every character.
Variants
One
One stop bit.
Two
Two stop bits.
Trait Implementations
impl Copy for StopBits
impl Eq for StopBits
impl StructuralEq for StopBits
impl StructuralPartialEq for StopBits
Auto Trait Implementations
impl RefUnwindSafe for StopBits
impl Send for StopBits
impl Sync for StopBits
impl Unpin for StopBits
impl UnwindSafe for StopBits
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more