pub struct ConnectionDebugSnapshot {Show 17 fields
pub connection_id: ConnectionId,
pub endpoint: Option<String>,
pub surface: Option<String>,
pub component: Option<String>,
pub state: ConnectionDebugState,
pub outstanding_requests: usize,
pub requests: Vec<RequestDebugSnapshot>,
pub open_channels: Vec<ChannelDebugSnapshot>,
pub outbound_queue_depth: Option<usize>,
pub outbound_queue_capacity: Option<usize>,
pub local_control_queue_depth: Option<usize>,
pub local_control_queue_capacity: Option<usize>,
pub last_inbound_message_at: Option<Instant>,
pub last_outbound_message_at: Option<Instant>,
pub last_progress_at: Option<Instant>,
pub close_reason: Option<ConnectionCloseReason>,
pub driver_task_status: DriverTaskStatus,
}Fields§
§connection_id: ConnectionId§endpoint: Option<String>§surface: Option<String>§component: Option<String>§state: ConnectionDebugState§outstanding_requests: usize§requests: Vec<RequestDebugSnapshot>§open_channels: Vec<ChannelDebugSnapshot>§outbound_queue_depth: Option<usize>§outbound_queue_capacity: Option<usize>§local_control_queue_depth: Option<usize>§local_control_queue_capacity: Option<usize>§last_inbound_message_at: Option<Instant>§last_outbound_message_at: Option<Instant>§last_progress_at: Option<Instant>§close_reason: Option<ConnectionCloseReason>§driver_task_status: DriverTaskStatusTrait Implementations§
Source§impl Clone for ConnectionDebugSnapshot
impl Clone for ConnectionDebugSnapshot
Source§fn clone(&self) -> ConnectionDebugSnapshot
fn clone(&self) -> ConnectionDebugSnapshot
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 moreAuto Trait Implementations§
impl Freeze for ConnectionDebugSnapshot
impl RefUnwindSafe for ConnectionDebugSnapshot
impl Send for ConnectionDebugSnapshot
impl Sync for ConnectionDebugSnapshot
impl Unpin for ConnectionDebugSnapshot
impl UnsafeUnpin for ConnectionDebugSnapshot
impl UnwindSafe for ConnectionDebugSnapshot
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