Trait SimpReceiver

Source
pub trait SimpReceiver
where Self: Sized,
{ type Error; // Required method fn read(&mut self) -> Option<Result<SimpMessage, Self::Error>>; // Provided method fn read_iter(&mut self) -> SimpReadIter<'_, Self> { ... } }

Required Associated Types§

Required Methods§

Source

fn read(&mut self) -> Option<Result<SimpMessage, Self::Error>>

Provided Methods§

Source

fn read_iter(&mut self) -> SimpReadIter<'_, 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.

Implementations on Foreign Types§

Source§

impl SimpReceiver for ()

Source§

type Error = ()

Source§

fn read(&mut self) -> Option<Result<SimpMessage, Self::Error>>

Implementors§