Trait tiny_actor::DynChannel
source · [−]pub trait DynChannel {
Show 14 methods
fn close(&self) -> bool;
fn halt_some(&self, n: u32);
fn inbox_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;
fn halt(&self) { ... }
}Expand description
A Channel-trait, without information about it’s message type. Therefore, it’s impossible to send or receive messages through this.