pub trait StreamIpcOps: StreamOps {
// Required methods
fn is_connected(&self) -> bool;
fn peer_count(&self) -> usize;
fn description(&self) -> String;
}Expand description
Common trait for stream-based IPC objects
This trait provides common functionality for stream-based IPC mechanisms that operate as continuous data flows, such as pipes and sockets. It extends StreamOps with stream-specific IPC state management.
Required Methods§
Sourcefn is_connected(&self) -> bool
fn is_connected(&self) -> bool
Check if the stream IPC object is still connected/valid
Sourcefn peer_count(&self) -> usize
fn peer_count(&self) -> usize
Get the number of active peers (readers/writers/endpoints)
Sourcefn description(&self) -> String
fn description(&self) -> String
Get a human-readable description of this IPC object