#[repr(u64)]pub enum CallbackType {
DECSequence = 10,
Bell = 20,
DECPrivateID = 30,
StatusReport = 40,
CursorPositionReport = 50,
KeyboardLEDUpdate = 60,
SwitchSequence = 70,
LinuxEscapeSequence = 80,
}Expand description
Types of terminal callbacks
Variants§
DECSequence = 10
A DEC Private Mode Sequence has been encountered
Bell = 20
A bell event has occurred
DECPrivateID = 30
The kernel must respond to a DEC Private ID request
StatusReport = 40
The kernel must respond to an ECMA-48 status report request
CursorPositionReport = 50
The kernel must respond to an ECMA-48 cursor position report request
KeyboardLEDUpdate = 60
The kernel must respond to a keyboard LED change request
SwitchSequence = 70
An ECMA-48 Switch sequence has been encountered that the terminal cannot handle alone
LinuxEscapeSequence = 80
A private Linux escape sequence has been encountered that the terminal cannot handle alone
Trait Implementations§
Source§impl Debug for CallbackType
impl Debug for CallbackType
Source§impl PartialEq for CallbackType
impl PartialEq for CallbackType
impl Eq for CallbackType
impl StructuralPartialEq for CallbackType
Auto Trait Implementations§
impl Freeze for CallbackType
impl RefUnwindSafe for CallbackType
impl Send for CallbackType
impl Sync for CallbackType
impl Unpin for CallbackType
impl UnwindSafe for CallbackType
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