Enum rushell_deps_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 Extend<Signal> for SignalSet
[src]
impl Extend<Signal> for SignalSet
[src]pub fn extend<I>(&mut self, iter: I) where
I: IntoIterator<Item = Signal>,
[src]
pub fn extend<I>(&mut self, iter: I) where
I: IntoIterator<Item = Signal>,
[src]Extends a collection with the contents of an iterator. Read more
fn extend_one(&mut self, item: A)
[src]
fn extend_one(&mut self, item: A)
[src]extend_one
)Extends a collection with exactly one element.
fn extend_reserve(&mut self, additional: usize)
[src]
fn extend_reserve(&mut self, additional: usize)
[src]extend_one
)Reserves capacity in a collection for the given number of additional elements. Read more
impl FromIterator<Signal> for SignalSet
[src]
impl FromIterator<Signal> for SignalSet
[src]impl Copy for Signal
[src]
impl Eq for Signal
[src]
impl StructuralEq for Signal
[src]
impl StructuralPartialEq for Signal
[src]
Auto Trait Implementations
impl RefUnwindSafe for Signal
impl Send for Signal
impl Sync for Signal
impl Unpin for Signal
impl UnwindSafe for Signal
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more