Enum remoc::chmux::ConnectError
source · [−]pub enum ConnectError {
LocalPortsExhausted,
RemotePortsExhausted,
TooManyPendingConnectionRequests,
Rejected,
ChMux,
}
Expand description
An error occurred during connecting to a remote service.
Variants
LocalPortsExhausted
All local ports are in use.
RemotePortsExhausted
All remote ports are in use.
TooManyPendingConnectionRequests
Too many connection requests are pending.
Rejected
Connection has been rejected by server.
ChMux
A multiplexer error has occurred or it has been terminated.
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for ConnectError
impl Send for ConnectError
impl Sync for ConnectError
impl Unpin for ConnectError
impl UnwindSafe for ConnectError
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more