[][src]Enum linefeed::Signal

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

Signal received through a terminal device

Variants

Break

Break signal (CTRL_BREAK_EVENT); Windows only

Continue

Continue signal (SIGCONT); Unix only

Interrupt

Interrupt signal (SIGINT on Unix, CTRL_C_EVENT on Windows)

Resize

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

Suspend signal (SIGTSTP); Unix only

Quit

Quit signal (SIGQUIT); Unix only

Trait Implementations

impl Clone for Signal[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Eq for Signal[src]

impl Copy for Signal[src]

impl FromIterator<Signal> for SignalSet[src]

impl BitOr<Signal> for Signal[src]

type Output = SignalSet

The resulting type after applying the | operator.

impl From<Signal> for SignalSet[src]

impl Extend<Signal> for SignalSet[src]

impl PartialEq<Signal> for Signal[src]

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]

This method tests for !=.

impl Debug for Signal[src]

impl Not for Signal[src]

type Output = SignalSet

The resulting type after applying the ! operator.

Auto Trait Implementations

impl Send for Signal

impl Sync for Signal

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.