pub enum Remaining {
Unlimited,
Limited(u64),
}Expand description
Effective remaining capacity for a resource.
Variants§
Unlimited
No node in the lineage limits the resource.
Limited(u64)
The minimum remaining capacity across limited lineage nodes.
Trait Implementations§
impl Copy for Remaining
impl Eq for Remaining
impl StructuralPartialEq for Remaining
Auto Trait Implementations§
impl Freeze for Remaining
impl RefUnwindSafe for Remaining
impl Send for Remaining
impl Sync for Remaining
impl Unpin for Remaining
impl UnsafeUnpin for Remaining
impl UnwindSafe for Remaining
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