struct LeaderGuard {
run: Arc<BaseRun>,
published: bool,
}Expand description
Publish the leader’s answer, or a failure if the leader ended without one: a caller waiting on a run whose leader panicked or was cancelled must not wait for the process’s life.
Fields§
§run: Arc<BaseRun>§published: boolImplementations§
Source§impl LeaderGuard
impl LeaderGuard
Trait Implementations§
Source§impl Drop for LeaderGuard
impl Drop for LeaderGuard
Auto Trait Implementations§
impl !RefUnwindSafe for LeaderGuard
impl !UnwindSafe for LeaderGuard
impl Freeze for LeaderGuard
impl Send for LeaderGuard
impl Sync for LeaderGuard
impl Unpin for LeaderGuard
impl UnsafeUnpin for LeaderGuard
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