pub enum AcceptError<A: ConnectionErrors, B: ConnectionErrors> {
A(A::AcceptError),
B(B::AcceptError),
}
Expand description
AcceptError for combined channels
Variants§
Trait Implementations§
Source§impl<A: Debug + ConnectionErrors, B: Debug + ConnectionErrors> Debug for AcceptError<A, B>
impl<A: Debug + ConnectionErrors, B: Debug + ConnectionErrors> Debug for AcceptError<A, B>
Source§impl<A: ConnectionErrors, B: ConnectionErrors> Display for AcceptError<A, B>
impl<A: ConnectionErrors, B: ConnectionErrors> Display for AcceptError<A, B>
Source§impl<A: ConnectionErrors, B: ConnectionErrors> Error for AcceptError<A, B>
impl<A: ConnectionErrors, B: ConnectionErrors> Error for AcceptError<A, B>
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations§
impl<A, B> Freeze for AcceptError<A, B>
impl<A, B> RefUnwindSafe for AcceptError<A, B>where
<A as ConnectionErrors>::AcceptError: RefUnwindSafe,
<B as ConnectionErrors>::AcceptError: RefUnwindSafe,
impl<A, B> Send for AcceptError<A, B>
impl<A, B> Sync for AcceptError<A, B>
impl<A, B> Unpin for AcceptError<A, B>
impl<A, B> UnwindSafe for AcceptError<A, B>where
<A as ConnectionErrors>::AcceptError: UnwindSafe,
<B as ConnectionErrors>::AcceptError: UnwindSafe,
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more