pub struct PersistedPath {
pub destination_hash: [u8; 16],
pub timestamp: f64,
pub received_from: [u8; 16],
pub hops: u8,
pub expires: f64,
pub random_blobs: Vec<[u8; 10]>,
pub interface_hash: Option<[u8; 32]>,
pub packet_hash: [u8; 32],
pub used: f64,
}Fields§
§destination_hash: [u8; 16]§timestamp: f64§received_from: [u8; 16]§hops: u8§expires: f64§random_blobs: Vec<[u8; 10]>§interface_hash: Option<[u8; 32]>§packet_hash: [u8; 32]§used: f64Last time this path was used; 0 means never used.
Trait Implementations§
Source§impl Clone for PersistedPath
impl Clone for PersistedPath
Source§impl Debug for PersistedPath
impl Debug for PersistedPath
Source§impl PartialEq for PersistedPath
impl PartialEq for PersistedPath
impl StructuralPartialEq for PersistedPath
Auto Trait Implementations§
impl Forget for PersistedPath
impl Freeze for PersistedPath
impl RefUnwindSafe for PersistedPath
impl Send for PersistedPath
impl Sync for PersistedPath
impl Unpin for PersistedPath
impl UnsafeUnpin for PersistedPath
impl UnwindSafe for PersistedPath
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