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)>
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<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
sourceยงimpl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
sourceยงdefault unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
๐ฌThis is a nightly-only experimental API. (
clone_to_uninit
)