pub struct ConfirmationGuard { /* private fields */ }Expand description
RAII guard that deregisters a confirmation route on drop.
Returned by BusServer::register_confirmation(). When dropped (including
on panic/early return), removes the confirmation entry from the routing table.
This prevents stale entries from accumulating if the caller times out or errors.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ConfirmationGuard
impl !RefUnwindSafe for ConfirmationGuard
impl Send for ConfirmationGuard
impl Sync for ConfirmationGuard
impl Unpin for ConfirmationGuard
impl !UnwindSafe for ConfirmationGuard
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