loom_core_actors

Trait Consumer

Source
pub trait Consumer<T>
where T: Sync + Send + Clone,
{ // Provided method fn consume(&mut self, _receiver: Broadcaster<T>) -> &mut Self { ... } }

Provided Methods§

Source

fn consume(&mut self, _receiver: Broadcaster<T>) -> &mut Self

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§