Struct ethp2p::Transactions
source · [−]pub struct Transactions(pub Vec<TypedTransaction>);
Expand description
This informs peers of transactions that have appeared on the network and are not yet included in a block.
Tuple Fields
0: Vec<TypedTransaction>
New transactions for the peer to include in its mempool.
Trait Implementations
sourceimpl Clone for Transactions
impl Clone for Transactions
sourcefn clone(&self) -> Transactions
fn clone(&self) -> Transactions
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 Transactions
impl Debug for Transactions
sourceimpl Encodable for Transactions
impl Encodable for Transactions
sourceimpl From<Transactions> for EthMessage
impl From<Transactions> for EthMessage
sourcefn from(t: Transactions) -> Self
fn from(t: Transactions) -> Self
Converts to this type from the input type.
sourceimpl From<Transactions> for Request
impl From<Transactions> for Request
sourcefn from(t: Transactions) -> Self
fn from(t: Transactions) -> Self
Converts to this type from the input type.
sourceimpl From<Transactions> for Vec<TypedTransaction>
impl From<Transactions> for Vec<TypedTransaction>
sourcefn from(txs: Transactions) -> Self
fn from(txs: Transactions) -> Self
Converts to this type from the input type.
sourceimpl From<Vec<TypedTransaction, Global>> for Transactions
impl From<Vec<TypedTransaction, Global>> for Transactions
sourceimpl PartialEq<Transactions> for Transactions
impl PartialEq<Transactions> for Transactions
sourcefn eq(&self, other: &Transactions) -> bool
fn eq(&self, other: &Transactions) -> bool
impl Eq for Transactions
impl StructuralEq for Transactions
impl StructuralPartialEq for Transactions
Auto Trait Implementations
impl RefUnwindSafe for Transactions
impl Send for Transactions
impl Sync for Transactions
impl Unpin for Transactions
impl UnwindSafe for Transactions
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