pub struct Signal(pub SignalType);Expand description
Process signal message
Tuple Fields
0: SignalTypeTrait Implementations
sourceimpl Handler<Signal> for DefaultSignalsHandler
impl Handler<Signal> for DefaultSignalsHandler
Handle SIGINT, SIGTERM, SIGQUIT signals and send SystemExit(0)
message to System actor.
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more