Enum linefeed::Signal
[−]
[src]
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 Copy for Signal
[src]
impl Extend<Signal> for SignalSet
[src]
fn extend<I>(&mut self, iter: I) where
I: IntoIterator<Item = Signal>,
[src]
I: IntoIterator<Item = Signal>,
Extends a collection with the contents of an iterator. Read more
impl PartialEq<Signal> for Signal
[src]
fn eq(&self, __arg_0: &Signal) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.
impl Clone for Signal
[src]
fn clone(&self) -> Signal
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl BitOr<Signal> for Signal
[src]
type Output = SignalSet
The resulting type after applying the |
operator.
fn bitor(self, rhs: Signal) -> SignalSet
[src]
Performs the |
operation.
impl Not for Signal
[src]
type Output = SignalSet
The resulting type after applying the !
operator.
fn not(self) -> SignalSet
[src]
Performs the unary !
operation.
impl Eq for Signal
[src]
impl FromIterator<Signal> for SignalSet
[src]
fn from_iter<I>(iter: I) -> SignalSet where
I: IntoIterator<Item = Signal>,
[src]
I: IntoIterator<Item = Signal>,
Creates a value from an iterator. Read more