Struct bitcoin_peerman::QueuedBlock
source · pub struct QueuedBlock {
pub pindex: Option<Arc<BlockIndex>>,
pub partial_block: Amo<PartiallyDownloadedBlock>,
}Expand description
| Blocks that are in flight, and that are | in the queue to be downloaded. |
Fields§
§pindex: Option<Arc<BlockIndex>>| BlockIndex. We must have this since | we only request blocks when we’ve already | validated the header. |
partial_block: Amo<PartiallyDownloadedBlock>| Optional, used for CMPCTBLOCK downloads |
Trait Implementations§
source§impl PartialEq<QueuedBlock> for QueuedBlock
impl PartialEq<QueuedBlock> for QueuedBlock
source§fn eq(&self, other: &QueuedBlock) -> bool
fn eq(&self, other: &QueuedBlock) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for QueuedBlock
Auto Trait Implementations§
impl !RefUnwindSafe for QueuedBlock
impl Send for QueuedBlock
impl Sync for QueuedBlock
impl Unpin for QueuedBlock
impl !UnwindSafe for QueuedBlock
Blanket Implementations§
§impl<T, U> CastInto<U> for Twhere
U: CastFrom<T>,
impl<T, U> CastInto<U> for Twhere U: CastFrom<T>,
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> StaticUpcast<T> for T
impl<T> StaticUpcast<T> for T
§unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
Convert type of a const pointer. Read more