Enum linefeed::terminal::Signal[][src]

pub enum Signal {
    Break,
    Continue,
    Interrupt,
    Resize,
    Suspend,
    Quit,
}

Signal received through a terminal device

Variants

Break signal (CTRL_BREAK_EVENT); Windows only

Continue signal (SIGCONT); Unix only

Interrupt signal (SIGINT on Unix, CTRL_C_EVENT on Windows)

Terminal window resize (SIGWINCH on Unix, WINDOW_BUFFER_SIZE_EVENT on Windows)

When this signal is received, it will be translated into an Event::Resize(_) value containing the new size of the terminal.

Suspend signal (SIGTSTP); Unix only

Quit signal (SIGQUIT); Unix only

Trait Implementations

impl Extend<Signal> for SignalSet
[src]

Extends a collection with the contents of an iterator. Read more

impl Clone for Signal
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Signal
[src]

Formats the value using the given formatter. Read more

impl From<Signal> for SignalSet
[src]

Performs the conversion.

impl BitOr<Signal> for Signal
[src]

The resulting type after applying the | operator.

Performs the | operation.

impl FromIterator<Signal> for SignalSet
[src]

Creates a value from an iterator. Read more

impl Copy for Signal
[src]

impl Eq for Signal
[src]

impl PartialEq<Signal> for Signal
[src]

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

This method tests for !=.

impl Not for Signal
[src]

The resulting type after applying the ! operator.

Performs the unary ! operation.

Auto Trait Implementations

impl Send for Signal

impl Sync for Signal