pub enum SignalType {
Interrupt,
Terminate,
Hangup,
Quit,
}
Expand description
Signal types for shutdown handling
Variantsยง
Trait Implementationsยง
Sourceยงimpl Clone for SignalType
impl Clone for SignalType
Sourceยงfn clone(&self) -> SignalType
fn clone(&self) -> SignalType
Returns a duplicate of the value. Read more
1.0.0 ยท Sourceยงfn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSourceยงimpl Debug for SignalType
impl Debug for SignalType
Sourceยงimpl PartialEq for SignalType
impl PartialEq for SignalType
impl StructuralPartialEq for SignalType
Auto Trait Implementationsยง
impl Freeze for SignalType
impl RefUnwindSafe for SignalType
impl Send for SignalType
impl Sync for SignalType
impl Unpin for SignalType
impl UnwindSafe for SignalType
Blanket Implementationsยง
Sourceยงimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Sourceยงfn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more