pub struct BlockQueueInfo {
    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,
}
Expand description

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

Implementations

The total size of the queues.

The size of the unverified and verifying queues.

Indicates that queue is full

Indicates that queue is empty

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.