Struct ethp2p::GetBlockBodies
source · [−]Expand description
A request for a peer to return block bodies for the given block hashes.
Tuple Fields
0: Vec<[u8; 32]>
The block hashes to request bodies for.
Trait Implementations
sourceimpl Clone for GetBlockBodies
impl Clone for GetBlockBodies
sourcefn clone(&self) -> GetBlockBodies
fn clone(&self) -> GetBlockBodies
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for GetBlockBodies
impl Debug for GetBlockBodies
sourceimpl Decodable for GetBlockBodies
impl Decodable for GetBlockBodies
sourceimpl Encodable for GetBlockBodies
impl Encodable for GetBlockBodies
sourceimpl PartialEq<GetBlockBodies> for GetBlockBodies
impl PartialEq<GetBlockBodies> for GetBlockBodies
sourcefn eq(&self, other: &GetBlockBodies) -> bool
fn eq(&self, other: &GetBlockBodies) -> bool
impl Eq for GetBlockBodies
impl StructuralEq for GetBlockBodies
impl StructuralPartialEq for GetBlockBodies
Auto Trait Implementations
impl RefUnwindSafe for GetBlockBodies
impl Send for GetBlockBodies
impl Sync for GetBlockBodies
impl Unpin for GetBlockBodies
impl UnwindSafe for GetBlockBodies
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more