pub struct RnsPathTableEntry { /* private fields */ }Implementations§
Source§impl RnsPathTableEntry
impl RnsPathTableEntry
pub const fn destination(&self) -> DestinationHash
pub const fn via(&self) -> TransportId
pub const fn hops(&self) -> u64
pub const fn learned_at_seconds(&self) -> f64
pub const fn expires_at_seconds(&self) -> f64
pub fn interface(&self) -> &str
Trait Implementations§
Source§impl Clone for RnsPathTableEntry
impl Clone for RnsPathTableEntry
Source§fn clone(&self) -> RnsPathTableEntry
fn clone(&self) -> RnsPathTableEntry
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RnsPathTableEntry
impl Debug for RnsPathTableEntry
Source§impl From<RouteSnapshot> for RnsPathTableEntry
impl From<RouteSnapshot> for RnsPathTableEntry
Source§fn from(entry: RouteSnapshot) -> RnsPathTableEntry
fn from(entry: RouteSnapshot) -> RnsPathTableEntry
Converts to this type from the input type.
Source§impl PartialEq for RnsPathTableEntry
impl PartialEq for RnsPathTableEntry
impl StructuralPartialEq for RnsPathTableEntry
Auto Trait Implementations§
impl Freeze for RnsPathTableEntry
impl RefUnwindSafe for RnsPathTableEntry
impl Send for RnsPathTableEntry
impl Sync for RnsPathTableEntry
impl Unpin for RnsPathTableEntry
impl UnsafeUnpin for RnsPathTableEntry
impl UnwindSafe for RnsPathTableEntry
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