pub struct OrphanEntry {
pub tx: Transaction,
pub time_added: u64,
pub from_peer: u64,
pub size: usize,
}Expand description
An orphan transaction and its metadata.
Fields§
§tx: TransactionThe transaction itself.
time_added: u64Unix timestamp when this orphan was added.
from_peer: u64The peer that sent us this orphan (for eviction priority).
size: usizeSerialized size of the transaction.
Trait Implementations§
Source§impl Clone for OrphanEntry
impl Clone for OrphanEntry
Source§fn clone(&self) -> OrphanEntry
fn clone(&self) -> OrphanEntry
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for OrphanEntry
impl RefUnwindSafe for OrphanEntry
impl Send for OrphanEntry
impl Sync for OrphanEntry
impl Unpin for OrphanEntry
impl UnsafeUnpin for OrphanEntry
impl UnwindSafe for OrphanEntry
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more