pub struct AnnounceQueueEntry {
pub destination_hash: [u8; 16],
pub time: f64,
pub hops: u8,
pub emitted: f64,
pub raw: Vec<u8>,
}Expand description
A queued announce entry waiting for bandwidth availability.
Fields§
§destination_hash: [u8; 16]Destination hash of the announce.
time: f64Time the announce was queued.
hops: u8Hops from the announce.
emitted: f64Time the announce was originally emitted (from random blob).
raw: Vec<u8>Raw announce bytes (ready to send).
Trait Implementations§
Source§impl Clone for AnnounceQueueEntry
impl Clone for AnnounceQueueEntry
Source§fn clone(&self) -> AnnounceQueueEntry
fn clone(&self) -> AnnounceQueueEntry
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 AnnounceQueueEntry
impl RefUnwindSafe for AnnounceQueueEntry
impl Send for AnnounceQueueEntry
impl Sync for AnnounceQueueEntry
impl Unpin for AnnounceQueueEntry
impl UnwindSafe for AnnounceQueueEntry
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