Skip to main content

DynChannel

Trait DynChannel 

Source
pub trait DynChannel {
Show 14 methods // Required 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§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§