pub trait EventIpcChannelObject: Send + Sync {
// Required methods
fn channel_id(&self) -> String;
fn is_active(&self) -> bool;
fn subscriber_count(&self) -> usize;
}Expand description
Event channel operations (implements EventSender + EventReceiver capabilities)
This trait defines objects that provide event-based communication channels with pub/sub semantics, different from stream-based pipes.
Required Methods§
Sourcefn channel_id(&self) -> String
fn channel_id(&self) -> String
Get channel identifier/name
Sourcefn subscriber_count(&self) -> usize
fn subscriber_count(&self) -> usize
Get number of subscribers