Struct serial::BlockingMode [-] [+] [src]

pub struct BlockingMode {
    pub bytes: u8,
    pub deciseconds: u8,
}
[-]

For how long to block read() calls

Fields

bytes

The device will block until at least bytes are received

deciseconds

The device will block for at least deciseconds after each read() call

Trait Implementations

Derived Implementations

impl PartialEq for BlockingMode

fn eq(&self, __arg_0: &BlockingMode) -> bool

fn ne(&self, __arg_0: &BlockingMode) -> bool

impl Copy for BlockingMode

impl Clone for BlockingMode

fn clone(&self) -> BlockingMode

fn clone_from(&mut self, source: &Self)