Enum canal::broadcast::BroadcastError [] [src]

pub enum BroadcastError<T> {
    SendError(T),
    RecvError,
}

Error from broadcast module.

Variants

SendError

Send error

RecvError

Receive error

Trait Implementations

impl<T: Display> Display for BroadcastError<T>

fn fmt(&self, fmt: &mut Formatter) -> Result

impl<T: Send + Display + Debug + Any> Error for BroadcastError<T>

fn description(&self) -> &str

fn cause(&self) -> Option<&Error>

impl<T> From<SendError<T>> for BroadcastError<T>

fn from(err: SendError<T>) -> BroadcastError<T>

impl<T> From<RecvError> for BroadcastError<T>

fn from(_err: RecvError) -> BroadcastError<T>

Derived Implementations

impl<T: Debug> Debug for BroadcastError<T>

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl<T: Copy> Copy for BroadcastError<T>

impl<T: Clone> Clone for BroadcastError<T>

fn clone(&self) -> BroadcastError<T>

fn clone_from(&mut self, source: &Self)

impl<T: Eq> Eq for BroadcastError<T>

impl<T: PartialEq> PartialEq for BroadcastError<T>

fn eq(&self, __arg_0: &BroadcastError<T>) -> bool

fn ne(&self, __arg_0: &BroadcastError<T>) -> bool