pub struct LinkInfoEntry {Show 16 fields
pub link_id: [u8; 16],
pub state: String,
pub is_initiator: bool,
pub dest_hash: [u8; 16],
pub remote_identity: Option<[u8; 16]>,
pub rtt: Option<f64>,
pub channel_window: Option<u16>,
pub channel_outstanding: Option<usize>,
pub pending_channel_packets: usize,
pub channel_send_ok: u64,
pub channel_send_not_ready: u64,
pub channel_send_too_big: u64,
pub channel_send_other_error: u64,
pub channel_messages_received: u64,
pub channel_proofs_sent: u64,
pub channel_proofs_received: u64,
}Expand description
Information about an active link.
Fields§
§link_id: [u8; 16]§state: String§is_initiator: bool§dest_hash: [u8; 16]§remote_identity: Option<[u8; 16]>§rtt: Option<f64>§channel_window: Option<u16>§channel_outstanding: Option<usize>§pending_channel_packets: usize§channel_send_ok: u64§channel_send_not_ready: u64§channel_send_too_big: u64§channel_send_other_error: u64§channel_messages_received: u64§channel_proofs_sent: u64§channel_proofs_received: u64Trait Implementations§
Source§impl Clone for LinkInfoEntry
impl Clone for LinkInfoEntry
Source§fn clone(&self) -> LinkInfoEntry
fn clone(&self) -> LinkInfoEntry
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 LinkInfoEntry
impl RefUnwindSafe for LinkInfoEntry
impl Send for LinkInfoEntry
impl Sync for LinkInfoEntry
impl Unpin for LinkInfoEntry
impl UnsafeUnpin for LinkInfoEntry
impl UnwindSafe for LinkInfoEntry
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> InterfaceConfigData for Twhere
T: Send + 'static,
impl<T> InterfaceConfigData for Twhere
T: Send + 'static,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more