EventIpcChannelObject

Trait EventIpcChannelObject 

Source
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§

Source

fn channel_id(&self) -> String

Get channel identifier/name

Source

fn is_active(&self) -> bool

Check if channel is active

Source

fn subscriber_count(&self) -> usize

Get number of subscribers

Implementors§