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§
source§impl Clone for ConnectError
impl Clone for ConnectError
source§fn clone(&self) -> ConnectError
fn clone(&self) -> ConnectError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ConnectError
impl Debug for ConnectError
source§impl<'de> Deserialize<'de> for ConnectError
impl<'de> Deserialize<'de> for ConnectError
source§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
source§impl Display for ConnectError
impl Display for ConnectError
source§impl Error for ConnectError
impl Error for ConnectError
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()
source§impl From<ConnectError> for ConnectError
Available on crate feature rch
only.
impl From<ConnectError> for ConnectError
Available on crate feature
rch
only.source§fn from(err: ConnectError) -> Self
fn from(err: ConnectError) -> Self
Converts to this type from the input type.
source§impl From<ConnectError> for Error
impl From<ConnectError> for Error
source§fn from(err: ConnectError) -> Self
fn from(err: ConnectError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ConnectError
impl RefUnwindSafe for ConnectError
impl Send for ConnectError
impl Sync for ConnectError
impl Unpin for ConnectError
impl UnwindSafe for ConnectError
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