#[repr(u32)]pub enum Action {
OOff = 0,
OOn = 1,
IOff = 2,
IOn = 3,
}
Expand description
TC*
values for use with tcflow
.
Variants§
OOff = 0
TCOOFF
—Suspend output.
OOn = 1
TCOON
—Restart suspended output.
IOff = 2
TCIOFF
—Transmits a STOP byte.
IOn = 3
TCION
—Transmits a START byte.
Trait Implementations§
impl Copy for Action
impl Eq for Action
impl StructuralPartialEq for Action
Auto Trait Implementations§
impl Freeze for Action
impl RefUnwindSafe for Action
impl Send for Action
impl Sync for Action
impl Unpin for Action
impl UnwindSafe for Action
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)