Enum nix::sys::termios::FlowArg
#[repr(i32)]
#[non_exhaustive]
pub enum FlowArg {
TCOOFF,
TCOON,
TCIOFF,
TCION,
}
Documentation
Specify how transmission flow should be altered
Used as an argument to tcflow()
.
Variants
TCOOFF
Suspend transmission
TCOON
Resume transmission
TCIOFF
Transmit a STOP character, which should disable a connected terminal device
TCION
Transmit a START character, which should re-enable a connected terminal device
Trait Implementations
impl Debug for FlowArg
fn fmt(&Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Result
impl Hash for FlowArg
fn hash<__H: $crate::hash::Hasher>(&Self, state: &mut __H) -> ()
impl Ord for FlowArg
fn cmp(&Self, other: &FlowArg) -> $crate::cmp::Ordering
impl PartialOrd<FlowArg> for FlowArg
fn partial_cmp(&Self, other: &FlowArg) -> $crate::option::Option<$crate::cmp::Ordering>
impl StructuralEq for FlowArg
impl StructuralPartialEq for FlowArg
Auto Trait Implementations
impl RefUnwindSafe for FlowArg
impl UnwindSafe for FlowArg
Blanket Implementations
impl<T> BorrowMut<T> for T
where
T: ?Sized,
where
T: ?Sized,
fn borrow_mut(&mut Self) -> &mut T