pub struct FlowGuard(/* private fields */);
Expand description
A guard for suspended flows.
This object is used as a guard to resume the flow that was suppressed by a
call to ExecutionContext::suppress_flow
or ExecutionContext::disable_flow
.
When it is dropped the flow is resumed.
The guard is internally reference counted.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FlowGuard
impl RefUnwindSafe for FlowGuard
impl !Send for FlowGuard
impl !Sync for FlowGuard
impl Unpin for FlowGuard
impl UnwindSafe for FlowGuard
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