pub struct JoinPoll { /* private fields */ }Expand description
An approval’s wait for its next poll: its persisted delay, armed again after reopening, any provider cooldown (§6.7), and the intervals the app holds (§13.2).
Implementations§
Source§impl JoinPoll
impl JoinPoll
Sourcepub fn new(waits: ApprovalWaits, held: HeldIntervals, parks: Parks) -> Self
pub fn new(waits: ApprovalWaits, held: HeldIntervals, parks: Parks) -> Self
The wait on waits, honoring the intervals held reads and telling
parks where it parks.
Auto Trait Implementations§
impl !RefUnwindSafe for JoinPoll
impl !UnwindSafe for JoinPoll
impl Freeze for JoinPoll
impl Send for JoinPoll
impl Sync for JoinPoll
impl Unpin for JoinPoll
impl UnsafeUnpin for JoinPoll
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.