pub enum Limit {
Max(u64),
Unavailable,
Infinite,
}
Expand description
A limiting value for the token that may or may not take an explicit value
Variants§
Max(u64)
There is an explicit value for this limit
The token does not provide information about this limit
Infinite
The limit is “effectively infinite” and may be treated as such
Trait Implementations§
impl Copy for Limit
Auto Trait Implementations§
impl Freeze for Limit
impl RefUnwindSafe for Limit
impl Send for Limit
impl Sync for Limit
impl Unpin for Limit
impl UnwindSafe for Limit
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