Struct thingvellir::ShardShutdownStats
source · pub struct ShardShutdownStats {
pub internal_tasks: usize,
pub loads_completed: usize,
pub commits_completed: usize,
}
Fields§
§internal_tasks: usize
The length of the internal join set upon shutdown
loads_completed: usize
The number of load tasks completed during the shutdown drain
commits_completed: usize
The number of commit tasks completed during the shutdown drain
Implementations§
source§impl ShardShutdownStats
impl ShardShutdownStats
sourcepub fn tasks_dropped(&self) -> usize
pub fn tasks_dropped(&self) -> usize
The number of tasks that failed to complete during the shutdown drain
Trait Implementations§
source§impl Clone for ShardShutdownStats
impl Clone for ShardShutdownStats
source§fn clone(&self) -> ShardShutdownStats
fn clone(&self) -> ShardShutdownStats
Returns a copy 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 ShardShutdownStats
impl Debug for ShardShutdownStats
source§impl Default for ShardShutdownStats
impl Default for ShardShutdownStats
source§fn default() -> ShardShutdownStats
fn default() -> ShardShutdownStats
Returns the “default value” for a type. Read more
source§impl PartialEq for ShardShutdownStats
impl PartialEq for ShardShutdownStats
source§fn eq(&self, other: &ShardShutdownStats) -> bool
fn eq(&self, other: &ShardShutdownStats) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ShardShutdownStats
Auto Trait Implementations§
impl Freeze for ShardShutdownStats
impl RefUnwindSafe for ShardShutdownStats
impl Send for ShardShutdownStats
impl Sync for ShardShutdownStats
impl Unpin for ShardShutdownStats
impl UnwindSafe for ShardShutdownStats
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