Enum linefeed::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 Copy for Signal
[src]

impl Extend<Signal> for SignalSet
[src]

[src]

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

impl PartialEq<Signal> for Signal
[src]

[src]

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

1.0.0
[src]

This method tests for !=.

impl Clone for Signal
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl BitOr<Signal> for Signal
[src]

The resulting type after applying the | operator.

[src]

Performs the | operation.

impl Not for Signal
[src]

The resulting type after applying the ! operator.

[src]

Performs the unary ! operation.

impl Eq for Signal
[src]

impl FromIterator<Signal> for SignalSet
[src]

[src]

Creates a value from an iterator. Read more

impl From<Signal> for SignalSet
[src]

[src]

Performs the conversion.

impl Debug for Signal
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Signal

impl Sync for Signal