Struct ethcore::verification::QueueInfo
[−]
pub struct QueueInfo { pub unverified_queue_size: usize, pub verified_queue_size: usize, pub verifying_queue_size: usize, pub max_queue_size: usize, pub max_mem_use: usize, pub mem_used: usize, }
Verification queue status
Fields
unverified_queue_size: usize
Number of queued items pending verification
verified_queue_size: usize
Number of verified queued items pending import
verifying_queue_size: usize
Number of items being verified
max_queue_size: usize
Configured maximum number of items in the queue
max_mem_use: usize
Configured maximum number of bytes to use
mem_used: usize
Heap memory used in bytes
Methods
impl VerificationQueueInfo
impl VerificationQueueInfo
pub fn total_queue_size(&self) -> usize
pub fn total_queue_size(&self) -> usize
The total size of the queues.
pub fn incomplete_queue_size(&self) -> usize
pub fn incomplete_queue_size(&self) -> usize
The size of the unverified and verifying queues.
pub fn is_full(&self) -> bool
pub fn is_full(&self) -> bool
Indicates that queue is full
pub fn is_empty(&self) -> bool
pub fn is_empty(&self) -> bool
Indicates that queue is empty
Trait Implementations
impl Clone for VerificationQueueInfo
impl Clone for VerificationQueueInfo
fn clone(&self) -> VerificationQueueInfo
fn clone(&self) -> VerificationQueueInfo
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for VerificationQueueInfo
impl Debug for VerificationQueueInfo
Auto Trait Implementations
impl Send for VerificationQueueInfo
impl Send for VerificationQueueInfo
impl Sync for VerificationQueueInfo
impl Sync for VerificationQueueInfo