pub struct PassRequests { /* private fields */ }Expand description
Requests a pass took when it began, answered when it ends. A pass that panicked, or was dropped, before answering them leaves them waiting again, for its owner’s ending to answer.
Implementations§
Source§impl PassRequests
impl PassRequests
Sourcepub fn answer(self, outcome: &RetryOutcome)
pub fn answer(self, outcome: &RetryOutcome)
Answer every request with how the pass ended.
Trait Implementations§
Source§impl Drop for PassRequests
impl Drop for PassRequests
Auto Trait Implementations§
impl !RefUnwindSafe for PassRequests
impl !UnwindSafe for PassRequests
impl Freeze for PassRequests
impl Send for PassRequests
impl Sync for PassRequests
impl Unpin for PassRequests
impl UnsafeUnpin for PassRequests
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
impl<T> ErasedDestructor for Twhere
T: 'static,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.