pub enum BridgeClientError {
Upstream(UpstreamError),
Loop(LoopError),
}Expand description
Why one client’s bridge stopped.
Variants§
Upstream(UpstreamError)
This client’s upstream could not be opened.
Loop(LoopError)
The client’s own channel failed.
A refusal the upstream returned is not here. Those are answered to
the client and counted in LoopReport::failed; only a broken pipe
ends the loop.
Trait Implementations§
Source§impl Debug for BridgeClientError
impl Debug for BridgeClientError
Source§impl Display for BridgeClientError
impl Display for BridgeClientError
Source§impl Error for BridgeClientError
impl Error for BridgeClientError
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()
Source§impl From<BridgeClientError> for BridgeServeError
impl From<BridgeClientError> for BridgeServeError
Source§fn from(source: BridgeClientError) -> Self
fn from(source: BridgeClientError) -> Self
Converts to this type from the input type.
Source§impl From<LoopError> for BridgeClientError
impl From<LoopError> for BridgeClientError
Source§impl From<UpstreamError> for BridgeClientError
impl From<UpstreamError> for BridgeClientError
Source§fn from(source: UpstreamError) -> Self
fn from(source: UpstreamError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for BridgeClientError
impl !UnwindSafe for BridgeClientError
impl Freeze for BridgeClientError
impl Send for BridgeClientError
impl Sync for BridgeClientError
impl Unpin for BridgeClientError
impl UnsafeUnpin for BridgeClientError
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