Enum quic_rpc::transport::combined::OpenBiError
source · pub enum OpenBiError<A: ConnectionErrors, B: ConnectionErrors> {
A(A::OpenError),
B(B::OpenError),
NoChannel,
}
Expand description
OpenBiError for combined channels
Variants§
A(A::OpenError)
A variant
B(B::OpenError)
B variant
NoChannel
None of the two channels is configured
Trait Implementations§
source§impl<A: Debug + ConnectionErrors, B: Debug + ConnectionErrors> Debug for OpenBiError<A, B>
impl<A: Debug + ConnectionErrors, B: Debug + ConnectionErrors> Debug for OpenBiError<A, B>
source§impl<A: ConnectionErrors, B: ConnectionErrors> Display for OpenBiError<A, B>
impl<A: ConnectionErrors, B: ConnectionErrors> Display for OpenBiError<A, B>
source§impl<A: ConnectionErrors, B: ConnectionErrors> Error for OpenBiError<A, B>
impl<A: ConnectionErrors, B: ConnectionErrors> Error for OpenBiError<A, B>
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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 OpenBiError<A, B>
impl<A, B> RefUnwindSafe for OpenBiError<A, B>where
<A as ConnectionErrors>::OpenError: RefUnwindSafe,
<B as ConnectionErrors>::OpenError: RefUnwindSafe,
impl<A, B> Send for OpenBiError<A, B>
impl<A, B> Sync for OpenBiError<A, B>
impl<A, B> Unpin for OpenBiError<A, B>
impl<A, B> UnwindSafe for OpenBiError<A, B>where
<A as ConnectionErrors>::OpenError: UnwindSafe,
<B as ConnectionErrors>::OpenError: UnwindSafe,
Blanket Implementations§
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