[−][src]Enum async_chanx::ChanErr
A unified error for async channels. When creating a trait object based on
Sink
, you will also have to specify the error type. By creating a single
type here that raps the native errors from channels, we make this easier.
Variants
The channel Sender is already closed.
The channel Sender is already closed. The item you tried to send is returned in the error.
Trait Implementations
impl<I: Clone> Clone for ChanErr<I>
[src]
impl<I> Debug for ChanErr<I>
[src]
impl<I> Display for ChanErr<I>
[src]
impl<I: Eq> Eq for ChanErr<I>
[src]
impl<I> Error for ChanErr<I>
[src]
fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0[src]
fn backtrace(&self) -> Option<&Backtrace>
[src]
fn description(&self) -> &str
1.0.0[src]
fn cause(&self) -> Option<&dyn Error>
1.0.0[src]
impl<I: PartialEq> PartialEq<ChanErr<I>> for ChanErr<I>
[src]
impl<I> StructuralEq for ChanErr<I>
[src]
impl<I> StructuralPartialEq for ChanErr<I>
[src]
Auto Trait Implementations
impl<I> RefUnwindSafe for ChanErr<I> where
I: RefUnwindSafe,
I: RefUnwindSafe,
impl<I> Send for ChanErr<I> where
I: Send,
I: Send,
impl<I> Sync for ChanErr<I> where
I: Sync,
I: Sync,
impl<I> Unpin for ChanErr<I> where
I: Unpin,
I: Unpin,
impl<I> UnwindSafe for ChanErr<I> where
I: UnwindSafe,
I: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,