pub struct DeadManGuard {
pub initial_state: PlatformDeadManState,
/* private fields */
}Expand description
Keeps the durable dead-man deadline alive. Drop is deliberately fail-closed: it stops heartbeats and leaves the pre-signed cancel-all armed.
Fields§
§initial_state: PlatformDeadManStateImplementations§
Source§impl DeadManGuard
impl DeadManGuard
pub async fn disarm(&mut self) -> Result<PlatformDeadManState, SdkError>
Trait Implementations§
Source§impl Drop for DeadManGuard
impl Drop for DeadManGuard
Auto Trait Implementations§
impl Freeze for DeadManGuard
impl RefUnwindSafe for DeadManGuard
impl Send for DeadManGuard
impl Sync for DeadManGuard
impl Unpin for DeadManGuard
impl UnsafeUnpin for DeadManGuard
impl UnwindSafe for DeadManGuard
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