pub struct TransportedLink {
pub link_id: LinkId,
pub destination: DestinationHash,
pub mode: LinkMode,
pub next_hop: Option<TransportId>,
pub next_hop_interface: InterfaceId,
pub received_interface: InterfaceId,
pub taken_hops: u8,
pub remaining_hops: u8,
pub validated_by_proof: bool,
pub last_active: InstantMillis,
pub proof_timeout: InstantMillis,
}Fields§
§link_id: LinkId§destination: DestinationHash§mode: LinkMode§next_hop: Option<TransportId>§next_hop_interface: InterfaceId§received_interface: InterfaceId§taken_hops: u8§remaining_hops: u8§validated_by_proof: bool§last_active: InstantMillis§proof_timeout: InstantMillisTrait Implementations§
Source§impl Clone for TransportedLink
impl Clone for TransportedLink
Source§fn clone(&self) -> TransportedLink
fn clone(&self) -> TransportedLink
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 moreimpl Copy for TransportedLink
Source§impl Debug for TransportedLink
impl Debug for TransportedLink
impl Eq for TransportedLink
Source§impl IndexRow for TransportedLink
impl IndexRow for TransportedLink
Source§impl PartialEq for TransportedLink
impl PartialEq for TransportedLink
impl StructuralPartialEq for TransportedLink
Auto Trait Implementations§
impl Freeze for TransportedLink
impl RefUnwindSafe for TransportedLink
impl Send for TransportedLink
impl Sync for TransportedLink
impl Unpin for TransportedLink
impl UnsafeUnpin for TransportedLink
impl UnwindSafe for TransportedLink
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