pub struct FlushGate(/* private fields */);Expand description
Reentrancy gate for flush_once. Process-local — call try_enter before
dispatching a flush; if it returns None, another flush is in progress and
the caller should skip silently.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for FlushGate
impl RefUnwindSafe for FlushGate
impl Send for FlushGate
impl Sync for FlushGate
impl Unpin for FlushGate
impl UnsafeUnpin for FlushGate
impl UnwindSafe for FlushGate
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