pub struct KillMsg;Expand description
A message to forcefully kill the application immediately.
Sending this message to the Program will cause it to terminate as soon as
possible. The event loop will stop without invoking the model’s update and
will return an Error::ProgramKilled.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for KillMsg
impl RefUnwindSafe for KillMsg
impl Send for KillMsg
impl Sync for KillMsg
impl Unpin for KillMsg
impl UnwindSafe for KillMsg
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