Struct CommandDrainOutcome
pub struct CommandDrainOutcome {
pub drained: usize,
pub remaining: usize,
}Expand description
A snapshot of a lazy drain’s progress, with no command execution implied.
Fields§
§drained: usizeCommands yielded by this drain so far.
remaining: usizeAll commands still queued, including any outside the drain’s budget.
Trait Implementations§
§impl Clone for CommandDrainOutcome
impl Clone for CommandDrainOutcome
§fn clone(&self) -> CommandDrainOutcome
fn clone(&self) -> CommandDrainOutcome
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 more§impl Debug for CommandDrainOutcome
impl Debug for CommandDrainOutcome
§impl Default for CommandDrainOutcome
impl Default for CommandDrainOutcome
§fn default() -> CommandDrainOutcome
fn default() -> CommandDrainOutcome
Returns the “default value” for a type. Read more
§impl PartialEq for CommandDrainOutcome
impl PartialEq for CommandDrainOutcome
impl Copy for CommandDrainOutcome
impl Eq for CommandDrainOutcome
impl StructuralPartialEq for CommandDrainOutcome
Auto Trait Implementations§
impl Freeze for CommandDrainOutcome
impl RefUnwindSafe for CommandDrainOutcome
impl Send for CommandDrainOutcome
impl Sync for CommandDrainOutcome
impl Unpin for CommandDrainOutcome
impl UnwindSafe for CommandDrainOutcome
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