#[repr(u64)]
pub enum CallbackType {
    DECSequence,
    Bell,
    DECPrivateID,
    StatusReport,
    CursorPositionReport,
    KeyboardLEDUpdate,
    SwitchSequence,
    LinuxEscapeSequence,
}
Expand description

Types of terminal callbacks

Variants

DECSequence

A DEC Private Mode Sequence has been encountered

Bell

A bell event has occurred

DECPrivateID

The kernel must respond to a DEC Private ID request

StatusReport

The kernel must respond to an ECMA-48 status report request

CursorPositionReport

The kernel must respond to an ECMA-48 cursor position report request

KeyboardLEDUpdate

The kernel must respond to a keyboard LED change request

SwitchSequence

An ECMA-48 Switch sequence has been encountered that the terminal cannot handle alone

LinuxEscapeSequence

A private Linux escape sequence has been encountered that the terminal cannot handle alone

Trait Implementations

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.