pub struct OutboxAttemptCount(/* private fields */);Implementations§
Source§impl OutboxAttemptCount
impl OutboxAttemptCount
pub fn new() -> Self
pub fn value(&self) -> i64
pub fn increment(self) -> Self
pub fn checked_increment(self) -> Option<Self>
pub fn try_increment(self) -> Result<Self, OutboxAttemptCountError>
Trait Implementations§
Source§impl Clone for OutboxAttemptCount
impl Clone for OutboxAttemptCount
Source§fn clone(&self) -> OutboxAttemptCount
fn clone(&self) -> OutboxAttemptCount
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 OutboxAttemptCount
impl Debug for OutboxAttemptCount
Source§impl Default for OutboxAttemptCount
impl Default for OutboxAttemptCount
Source§impl Display for OutboxAttemptCount
impl Display for OutboxAttemptCount
Source§impl From<OutboxAttemptCount> for i64
impl From<OutboxAttemptCount> for i64
Source§fn from(value: OutboxAttemptCount) -> Self
fn from(value: OutboxAttemptCount) -> Self
Converts to this type from the input type.
Source§impl Hash for OutboxAttemptCount
impl Hash for OutboxAttemptCount
Source§impl Ord for OutboxAttemptCount
impl Ord for OutboxAttemptCount
Source§fn cmp(&self, other: &OutboxAttemptCount) -> Ordering
fn cmp(&self, other: &OutboxAttemptCount) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for OutboxAttemptCount
impl PartialEq for OutboxAttemptCount
Source§impl PartialOrd for OutboxAttemptCount
impl PartialOrd for OutboxAttemptCount
Source§impl TryFrom<i64> for OutboxAttemptCount
impl TryFrom<i64> for OutboxAttemptCount
impl Copy for OutboxAttemptCount
impl Eq for OutboxAttemptCount
impl StructuralPartialEq for OutboxAttemptCount
Auto Trait Implementations§
impl Freeze for OutboxAttemptCount
impl RefUnwindSafe for OutboxAttemptCount
impl Send for OutboxAttemptCount
impl Sync for OutboxAttemptCount
impl Unpin for OutboxAttemptCount
impl UnwindSafe for OutboxAttemptCount
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