pub struct OutboxPollInterval(/* private fields */);Implementations§
Source§impl OutboxPollInterval
impl OutboxPollInterval
pub fn new(value: Duration) -> Self
pub fn value(&self) -> Duration
pub fn next( self, multiplier: OutboxPollBackoffMultiplier, jitter: OutboxPollJitterRatio, max: OutboxPollInterval, ) -> Self
Trait Implementations§
Source§impl Clone for OutboxPollInterval
impl Clone for OutboxPollInterval
Source§fn clone(&self) -> OutboxPollInterval
fn clone(&self) -> OutboxPollInterval
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for OutboxPollInterval
impl Debug for OutboxPollInterval
Source§impl From<OutboxPollInterval> for Duration
impl From<OutboxPollInterval> for Duration
Source§fn from(value: OutboxPollInterval) -> Self
fn from(value: OutboxPollInterval) -> Self
Converts to this type from the input type.
Source§impl From<TimeDelta> for OutboxPollInterval
impl From<TimeDelta> for OutboxPollInterval
Source§impl PartialEq for OutboxPollInterval
impl PartialEq for OutboxPollInterval
impl Copy for OutboxPollInterval
impl StructuralPartialEq for OutboxPollInterval
Auto Trait Implementations§
impl Freeze for OutboxPollInterval
impl RefUnwindSafe for OutboxPollInterval
impl Send for OutboxPollInterval
impl Sync for OutboxPollInterval
impl Unpin for OutboxPollInterval
impl UnwindSafe for OutboxPollInterval
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