Enum FlowArg
#[repr(i32)]
#[non_exhaustive]
pub enum FlowArg
Specify how transmission flow should be altered
Used as an argument to tcflow().
Variants
-
TCOOFF = libc::TCOOFF Suspend transmission
-
TCOON = libc::TCOON Resume transmission
-
TCIOFF = libc::TCIOFF Transmit a STOP character, which should disable a connected terminal device
-
TCION = libc::TCION Transmit a START character, which should re-enable a connected terminal device
Trait Implementations
impl Clone for FlowArg
fn clone(&self) -> Self
impl Copy for FlowArg
impl Debug for FlowArg
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Eq for FlowArg
impl Hash for FlowArg
fn hash<__H: Hasher>(&self, state: &mut __H)
impl Ord for FlowArg
fn cmp(&self, other: &Self) -> Ordering
impl PartialEq for FlowArg
fn eq(&self, other: &Self) -> bool
impl PartialOrd for FlowArg
fn partial_cmp(&self, other: &Self) -> Option<Ordering>
impl StructuralPartialEq for FlowArg
Auto Trait Implementations
impl Freeze for FlowArg
impl RefUnwindSafe for FlowArg
impl Send for FlowArg
impl Sync for FlowArg
impl Unpin for FlowArg
impl UnsafeUnpin for FlowArg
impl UnwindSafe for FlowArg
Blanket Implementations
impl<T> Any for FlowArg
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for FlowArg
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for FlowArg
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> CloneToUninit for FlowArg
where
T: Clone,
unsafe fn clone_to_uninit(&self, dest: *mut u8)
impl<T> From<T> for FlowArg
fn from(t: T) -> TReturns the argument unchanged.
impl<T> ToOwned for FlowArg
where
T: Clone,
type Owned = T;fn to_owned(&self) -> Tfn clone_into(&self, target: &mut T)
impl<T, U> Into<U> for FlowArg
where
U: From<T>,
fn into(self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom<U> for FlowArg
where
U: Into<T>,
type Error = never;fn try_from(value: U) -> Result<T, never>
impl<T, U> TryInto<U> for FlowArg
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>