pub struct ApprovalWaits { /* private fields */ }Expand description
The wait between an approval’s checks, which a join and a pairing keep: its persisted delay, armed again after reopening, and any provider cooldown (§6.7).
Implementations§
Source§impl ApprovalWaits
impl ApprovalWaits
Sourcepub fn new(
database: StoreDatabase,
waits: Arc<RetryWaits>,
clock: ClockRef,
) -> Self
pub fn new( database: StoreDatabase, waits: Arc<RetryWaits>, clock: ClockRef, ) -> Self
The waits of an installation with this database, waits and clock.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for ApprovalWaits
impl !UnwindSafe for ApprovalWaits
impl Freeze for ApprovalWaits
impl Send for ApprovalWaits
impl Sync for ApprovalWaits
impl Unpin for ApprovalWaits
impl UnsafeUnpin for ApprovalWaits
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.