Enum remoc::rch::base::ConnectError
source · pub enum ConnectError {
Connect(ConnectError),
Listen(ListenerError),
NoConnectRequest,
}
Available on crate feature
rch
only.Expand description
Creating the remote channel failed.
Variants§
Connect(ConnectError)
The connect request failed.
Listen(ListenerError)
Listening for the remote connect request failed.
NoConnectRequest
The remote endpoint did not send a connect request.
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
impl From<ConnectError> for ConnectError
source§fn from(err: ConnectError) -> Self
fn from(err: ConnectError) -> Self
Converts to this type from the input type.
source§impl<TransportSinkError, TransportStreamError> From<ConnectError> for ConnectError<TransportSinkError, TransportStreamError>
impl<TransportSinkError, TransportStreamError> From<ConnectError> for ConnectError<TransportSinkError, TransportStreamError>
source§fn from(err: ConnectError) -> Self
fn from(err: ConnectError) -> Self
Converts to this type from the input type.
source§impl From<ListenerError> for ConnectError
impl From<ListenerError> for ConnectError
source§fn from(err: ListenerError) -> Self
fn from(err: ListenerError) -> 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