#[repr(u32)]pub enum Action {
OOff = 0,
OOn = 1,
IOff = 2,
IOn = 3,
}
Available on crate feature
termios
only.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,
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 4 bytes
Size for each variant:
OOff
: 0 bytesOOn
: 0 bytesIOff
: 0 bytesIOn
: 0 bytes