[−][src]Function phantomdrop::defer
pub fn defer(fun: impl FnOnce()) -> PhantomDrop<(), impl FnOnce(())>
Defer this function to run when the returned guard is dropped.
pub fn defer(fun: impl FnOnce()) -> PhantomDrop<(), impl FnOnce(())>
Defer this function to run when the returned guard is dropped.