pub enum BucketLimit {
Num(i64),
Unbounded,
}Expand description
Used to represent the upper limit of a bucket.
Variants§
Trait Implementations§
Source§impl Clone for BucketLimit
impl Clone for BucketLimit
Source§fn clone(&self) -> BucketLimit
fn clone(&self) -> BucketLimit
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 BucketLimit
impl Debug for BucketLimit
Source§impl Display for BucketLimit
impl Display for BucketLimit
Source§impl Ord for BucketLimit
impl Ord for BucketLimit
Source§fn cmp(&self, other: &BucketLimit) -> Ordering
fn cmp(&self, other: &BucketLimit) -> 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 BucketLimit
impl PartialEq for BucketLimit
Source§impl PartialOrd for BucketLimit
impl PartialOrd for BucketLimit
Source§impl Serialize for BucketLimit
impl Serialize for BucketLimit
Source§impl Value for BucketLimit
impl Value for BucketLimit
impl Copy for BucketLimit
impl Eq for BucketLimit
impl StructuralPartialEq for BucketLimit
Auto Trait Implementations§
impl Freeze for BucketLimit
impl RefUnwindSafe for BucketLimit
impl Send for BucketLimit
impl Sync for BucketLimit
impl Unpin for BucketLimit
impl UnwindSafe for BucketLimit
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