pub enum StopBits {
Bits1,
Bits2,
}
Expand description
The number of stop bits (wait states effectively) to transmit after each character frame
Variants§
Trait Implementations§
source§impl PartialEq for StopBits
impl PartialEq for StopBits
source§impl Persist for StopBits
impl Persist for StopBits
source§fn load_from<R: Read>(reader: &mut R) -> PersistenceResult<Self>where
Self: Sized,
fn load_from<R: Read>(reader: &mut R) -> PersistenceResult<Self>where
Self: Sized,
Load an instance of this Enum from the given reader
source§fn save_to<W: Write>(&self, writer: &mut W) -> PersistenceResult<()>
fn save_to<W: Write>(&self, writer: &mut W) -> PersistenceResult<()>
Save an instance of this Enum to the given writer.
source§fn load_with<R: Read>(reader: R) -> PersistenceResult<Self>
fn load_with<R: Read>(reader: R) -> PersistenceResult<Self>
Take the given reader and use it to load an instance of this type.
impl Copy for StopBits
impl Eq for StopBits
impl StructuralPartialEq for StopBits
Auto Trait Implementations§
impl Freeze for StopBits
impl RefUnwindSafe for StopBits
impl Send for StopBits
impl Sync for StopBits
impl Unpin for StopBits
impl UnwindSafe for StopBits
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