Enum serial_embedded_hal::StopBits[]

pub enum StopBits {
    Stop1,
    Stop2,
}

Number of stop bits.

Stop bits are transmitted after every character.

Variants

One stop bit.

Two stop bits.

Trait Implementations

impl Clone for StopBits

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for StopBits

Formats the value using the given formatter. Read more

impl Copy for StopBits

impl Eq for StopBits

impl PartialEq<StopBits> for StopBits

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

impl Send for StopBits

impl Sync for StopBits