pub struct TimeoutGuard { /* private fields */ }Expand description
RAII guard that sets cancellation flag on drop
When this guard is dropped (either normally or due to panic), it sets the cancellation flag to signal the plugin to stop processing.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TimeoutGuard
impl RefUnwindSafe for TimeoutGuard
impl Send for TimeoutGuard
impl Sync for TimeoutGuard
impl Unpin for TimeoutGuard
impl UnsafeUnpin for TimeoutGuard
impl UnwindSafe for TimeoutGuard
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