Trait tiny_actor::channel::DynChannel
source · [−]pub trait DynChannel {
Show 14 methods
fn close(&self) -> bool;
fn halt_some(&self, n: u32);
fn halt(&self);
fn process_count(&self) -> usize;
fn msg_count(&self) -> usize;
fn address_count(&self) -> usize;
fn is_closed(&self) -> bool;
fn capacity(&self) -> &Capacity;
fn has_exited(&self) -> bool;
fn add_address(&self) -> usize;
fn remove_address(&self) -> usize;
fn get_exit_listener(&self) -> EventListener;
fn actor_id(&self) -> u64;
fn is_bounded(&self) -> bool;
}Expand description
A Channel-trait, without information about it’s message type. Therefore, it’s impossible to send or receive messages through this.
Required Methods
source
fn process_count(&self) -> usize
source
fn address_count(&self) -> usize
source
fn has_exited(&self) -> bool
source
fn add_address(&self) -> usize
source
fn remove_address(&self) -> usize
source
fn get_exit_listener(&self) -> EventListener
source