Struct common_types::verification_queue_info::VerificationQueueInfo [−][src]
pub struct VerificationQueueInfo {
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[src]
impl VerificationQueueInfopub fn total_queue_size(&self) -> usize[src]
pub fn total_queue_size(&self) -> usizeThe total size of the queues.
pub fn incomplete_queue_size(&self) -> usize[src]
pub fn incomplete_queue_size(&self) -> usizeThe size of the unverified and verifying queues.
pub fn is_full(&self) -> bool[src]
pub fn is_full(&self) -> boolIndicates that queue is full
pub fn is_empty(&self) -> bool[src]
pub fn is_empty(&self) -> boolIndicates that queue is empty
Trait Implementations
impl Debug for VerificationQueueInfo[src]
impl Debug for VerificationQueueInfofn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Clone for VerificationQueueInfo[src]
impl Clone for VerificationQueueInfofn clone(&self) -> VerificationQueueInfo[src]
fn clone(&self) -> VerificationQueueInfoReturns 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
Auto Trait Implementations
impl Send for VerificationQueueInfo
impl Send for VerificationQueueInfoimpl Sync for VerificationQueueInfo
impl Sync for VerificationQueueInfo