pub struct ConnectionSnapshot {
pub addr_a: SocketAddr,
pub addr_b: SocketAddr,
pub channel_count: usize,
pub operation_count: usize,
pub last_seen: Duration,
pub pv_names: Vec<String>,
pub updates_per_sec: f64,
pub recent_messages: Vec<String>,
pub mid_stream: bool,
pub is_beacon: bool,
pub is_broadcast: bool,
}Fields§
§addr_a: SocketAddr§addr_b: SocketAddr§channel_count: usize§operation_count: usize§last_seen: Duration§pv_names: Vec<String>§updates_per_sec: f64§recent_messages: Vec<String>§mid_stream: bool§is_beacon: bool§is_broadcast: boolTrait Implementations§
Source§impl Clone for ConnectionSnapshot
impl Clone for ConnectionSnapshot
Source§fn clone(&self) -> ConnectionSnapshot
fn clone(&self) -> ConnectionSnapshot
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 ConnectionSnapshot
impl RefUnwindSafe for ConnectionSnapshot
impl Send for ConnectionSnapshot
impl Sync for ConnectionSnapshot
impl Unpin for ConnectionSnapshot
impl UnsafeUnpin for ConnectionSnapshot
impl UnwindSafe for ConnectionSnapshot
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