Enum canal::broadcast::BroadcastError
[−]
[src]
pub enum BroadcastError<T> { SendError(T), RecvError, }
Error from broadcast module.
Variants
SendError(T)
Send error
RecvError
Receive error
Trait Implementations
impl<T: Debug> Debug for BroadcastError<T>
[src]
impl<T: Copy> Copy for BroadcastError<T>
[src]
impl<T: Clone> Clone for BroadcastError<T>
[src]
fn clone(&self) -> BroadcastError<T>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl<T: Eq> Eq for BroadcastError<T>
[src]
impl<T: PartialEq> PartialEq for BroadcastError<T>
[src]
fn eq(&self, __arg_0: &BroadcastError<T>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &BroadcastError<T>) -> bool
This method tests for !=
.
impl<T: Display> Display for BroadcastError<T>
[src]
impl<T: Send + Display + Debug + Any> Error for BroadcastError<T>
[src]
fn description(&self) -> &str
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
The lower-level cause of this error, if any. Read more
impl<T> From<SendError<T>> for BroadcastError<T>
[src]
fn from(err: SendError<T>) -> BroadcastError<T>
Performs the conversion.
impl<T> From<RecvError> for BroadcastError<T>
[src]
fn from(_err: RecvError) -> BroadcastError<T>
Performs the conversion.