pub struct NewAvailable(pub u64);Expand description
The bucket’s new available count after a consume call commits.
Tuple Fields§
§0: u64Trait Implementations§
Source§impl Clone for NewAvailable
impl Clone for NewAvailable
Source§fn clone(&self) -> NewAvailable
fn clone(&self) -> NewAvailable
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for NewAvailable
Source§impl Debug for NewAvailable
impl Debug for NewAvailable
Source§impl Display for NewAvailable
impl Display for NewAvailable
impl Eq for NewAvailable
Source§impl From<NewAvailable> for u64
impl From<NewAvailable> for u64
Source§fn from(value: NewAvailable) -> Self
fn from(value: NewAvailable) -> Self
Converts to this type from the input type.
Source§impl From<u64> for NewAvailable
impl From<u64> for NewAvailable
Source§impl Hash for NewAvailable
impl Hash for NewAvailable
Source§impl Ord for NewAvailable
impl Ord for NewAvailable
Source§fn cmp(&self, other: &NewAvailable) -> Ordering
fn cmp(&self, other: &NewAvailable) -> Ordering
1.21.0 (const: unstable) · 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 NewAvailable
impl PartialEq for NewAvailable
Source§impl PartialOrd for NewAvailable
impl PartialOrd for NewAvailable
impl StructuralPartialEq for NewAvailable
Auto Trait Implementations§
impl Freeze for NewAvailable
impl RefUnwindSafe for NewAvailable
impl Send for NewAvailable
impl Sync for NewAvailable
impl Unpin for NewAvailable
impl UnsafeUnpin for NewAvailable
impl UnwindSafe for NewAvailable
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