pub struct Message { /* private fields */ }Expand description
Trait Implementations
sourceimpl TryFrom<Signal> for Message
impl TryFrom<Signal> for Message
sourcefn try_from(signal: Signal) -> Result<Self, Self::Error>
fn try_from(signal: Signal) -> Result<Self, Self::Error>
Converts Signal::Interrupt, Signal::Terminate and
Signal::Quit, fails for all other signals (by returning Err(())).
Auto Trait Implementations
impl RefUnwindSafe for Message
impl Send for Message
impl Sync for Message
impl Unpin for Message
impl UnwindSafe for Message
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