#[repr(u8)]pub enum ControlChar {
Show 17 variants
Intr = 0,
Quit = 1,
Erase = 2,
Kill = 3,
Eof = 4,
Time = 5,
Min = 6,
Swtc = 7,
Start = 8,
Stop = 9,
Susp = 10,
Eol = 11,
Reprint = 12,
Discard = 13,
Werase = 14,
Lnext = 15,
Eol2 = 16,
}Expand description
Indices des caractères de contrôle dans [Termios::control_chars] (c_cc).
Valeurs <asm-generic/termbits.h> (identiques x86_64/aarch64).
Variants§
Intr = 0
VINTR — caractère d’interruption (SIGINT).
Quit = 1
VQUIT — caractère de quit (SIGQUIT).
Erase = 2
VERASE — effacement de caractère.
Kill = 3
VKILL — effacement de ligne.
Eof = 4
VEOF — fin de fichier (Ctrl-D).
Time = 5
VTIME — délai de lecture (dixièmes de seconde), mode non canonique.
Min = 6
VMIN — nombre minimal d’octets, mode non canonique.
Swtc = 7
VSWTC — caractère de bascule.
Start = 8
VSTART — reprise du flux (XON).
Stop = 9
VSTOP — suspension du flux (XOFF).
Susp = 10
VSUSP — suspension (SIGTSTP).
Eol = 11
VEOL — fin de ligne additionnelle.
Reprint = 12
VREPRINT — réaffichage de la ligne.
Discard = 13
VDISCARD — abandon de la sortie.
Werase = 14
VWERASE — effacement de mot.
Lnext = 15
VLNEXT — caractère littéral suivant.
Eol2 = 16
VEOL2 — seconde fin de ligne.
Trait Implementations§
Source§impl Clone for ControlChar
impl Clone for ControlChar
Source§fn clone(&self) -> ControlChar
fn clone(&self) -> ControlChar
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ControlChar
Source§impl Debug for ControlChar
impl Debug for ControlChar
impl Eq for ControlChar
Source§impl Hash for ControlChar
impl Hash for ControlChar
Source§impl Ord for ControlChar
impl Ord for ControlChar
Source§fn cmp(&self, other: &ControlChar) -> Ordering
fn cmp(&self, other: &ControlChar) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ControlChar
impl PartialEq for ControlChar
Source§impl PartialOrd for ControlChar
impl PartialOrd for ControlChar
impl StructuralPartialEq for ControlChar
Auto Trait Implementations§
impl Freeze for ControlChar
impl RefUnwindSafe for ControlChar
impl Send for ControlChar
impl Sync for ControlChar
impl Unpin for ControlChar
impl UnsafeUnpin for ControlChar
impl UnwindSafe for ControlChar
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