Enum tokio_serial::ClearBuffer [−]
pub enum ClearBuffer { Input, Output, All, }
Expand description
Specifies which buffer or buffers to purge when calling clear
Variants
Specify to clear data received but not read
Specify to clear data written but not yet transmitted
Specify to clear both data received and data not yet transmitted
Trait Implementations
impl Clone for ClearBuffer
impl Clone for ClearBuffer
pub fn clone(&self) -> ClearBuffer
pub fn clone(&self) -> ClearBuffer
Returns a copy of the value. Read more
Performs copy-assignment from source
. Read more
impl Debug for ClearBuffer
impl Debug for ClearBuffer
impl PartialEq<ClearBuffer> for ClearBuffer
impl PartialEq<ClearBuffer> for ClearBuffer
impl Copy for ClearBuffer
impl Eq for ClearBuffer
impl StructuralEq for ClearBuffer
impl StructuralPartialEq for ClearBuffer
Auto Trait Implementations
impl RefUnwindSafe for ClearBuffer
impl Send for ClearBuffer
impl Sync for ClearBuffer
impl Unpin for ClearBuffer
impl UnwindSafe for ClearBuffer
Blanket Implementations
Mutably borrows from an owned value. Read more