pub struct StopFunc { /* private fields */ }Expand description
与 Go AfterFunc 返回的 StopFunc 对齐。
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for StopFunc
impl !RefUnwindSafe for StopFunc
impl Send for StopFunc
impl !Sync for StopFunc
impl Unpin for StopFunc
impl !UnwindSafe for StopFunc
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