pub struct PathEntry {
pub timestamp: f64,
pub next_hop: [u8; 16],
pub hops: u8,
pub expires: f64,
pub random_blobs: Vec<[u8; 10]>,
pub receiving_interface: InterfaceId,
pub packet_hash: [u8; 32],
pub announce_raw: Option<Vec<u8>>,
}Expand description
Entry in the path table, keyed by destination_hash.
Fields§
§timestamp: f64§next_hop: [u8; 16]§hops: u8§expires: f64§random_blobs: Vec<[u8; 10]>§receiving_interface: InterfaceId§packet_hash: [u8; 32]§announce_raw: Option<Vec<u8>>Original announce raw bytes (pre-hop-increment) for cache/retransmission.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PathEntry
impl RefUnwindSafe for PathEntry
impl Send for PathEntry
impl Sync for PathEntry
impl Unpin for PathEntry
impl UnwindSafe for PathEntry
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