pub struct ExitSignal2<F: FnMut()>(pub F);Expand description
程序退出信号
Tuple Fields§
§0: FTrait Implementations§
Auto Trait Implementations§
impl<F> Freeze for ExitSignal2<F>where
F: Freeze,
impl<F> RefUnwindSafe for ExitSignal2<F>where
F: RefUnwindSafe,
impl<F> Send for ExitSignal2<F>where
F: Send,
impl<F> Sync for ExitSignal2<F>where
F: Sync,
impl<F> Unpin for ExitSignal2<F>where
F: Unpin,
impl<F> UnwindSafe for ExitSignal2<F>where
F: UnwindSafe,
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