[−][src]Enum mio_signals::Signal
Signal returned by Signals
.
Variants
Interrupt signal.
This signal is received by the process when its controlling terminal wishes to interrupt the process. This signal will for example be send when Ctrl+C is pressed in most terminals.
Corresponds to POSIX signal SIGINT
.
Termination request signal.
This signal received when the process is requested to terminate. This
allows the process to perform nice termination, releasing resources and
saving state if appropriate. This signal will be send when using the
kill
command for example.
Corresponds to POSIX signal SIGTERM
.
Terminal quit signal.
This signal is received when the process is requested to quit and perform a core dump.
Corresponds to POSIX signal SIGQUIT
.
Trait Implementations
impl BitOr<Signal> for SignalSet
[src]
type Output = SignalSet
The resulting type after applying the |
operator.
fn bitor(self, rhs: Signal) -> Self
[src]
impl BitOr<Signal> for Signal
[src]
type Output = SignalSet
The resulting type after applying the |
operator.
fn bitor(self, rhs: Self) -> SignalSet
[src]
impl BitOr<SignalSet> for Signal
[src]
type Output = SignalSet
The resulting type after applying the |
operator.
fn bitor(self, rhs: SignalSet) -> SignalSet
[src]
impl Clone for Signal
[src]
impl Copy for Signal
[src]
impl Debug for Signal
[src]
impl Eq for Signal
[src]
impl From<Signal> for SignalSet
[src]
impl Hash for Signal
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Ord for Signal
[src]
fn cmp(&self, other: &Signal) -> Ordering
[src]
fn max(self, other: Self) -> Self
1.21.0[src]
fn min(self, other: Self) -> Self
1.21.0[src]
fn clamp(self, min: Self, max: Self) -> Self
[src]
impl PartialEq<Signal> for Signal
[src]
impl PartialOrd<Signal> for Signal
[src]
fn partial_cmp(&self, other: &Signal) -> Option<Ordering>
[src]
#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[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> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,