Enum remoc::ProvideError
source · pub enum ProvideError<TransportSinkError, TransportStreamError> {
ChMux(ChMuxError<TransportSinkError, TransportStreamError>),
Connect(ConnectError<TransportSinkError, TransportStreamError>),
Send(SendError<()>),
}
Available on crate feature
rch
only.Expand description
Error occurred during establishing a providing connection.
Variants§
ChMux(ChMuxError<TransportSinkError, TransportStreamError>)
Channel multiplexer error.
Connect(ConnectError<TransportSinkError, TransportStreamError>)
Connection error.
Send(SendError<()>)
Sending provided value failed.
Trait Implementations§
source§impl<TransportSinkError: Clone, TransportStreamError: Clone> Clone for ProvideError<TransportSinkError, TransportStreamError>
impl<TransportSinkError: Clone, TransportStreamError: Clone> Clone for ProvideError<TransportSinkError, TransportStreamError>
source§fn clone(&self) -> ProvideError<TransportSinkError, TransportStreamError>
fn clone(&self) -> ProvideError<TransportSinkError, TransportStreamError>
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<TransportSinkError: Debug, TransportStreamError: Debug> Debug for ProvideError<TransportSinkError, TransportStreamError>
impl<TransportSinkError: Debug, TransportStreamError: Debug> Debug for ProvideError<TransportSinkError, TransportStreamError>
source§impl<TransportSinkError, TransportStreamError> Display for ProvideError<TransportSinkError, TransportStreamError>where
TransportSinkError: Display,
TransportStreamError: Display,
impl<TransportSinkError, TransportStreamError> Display for ProvideError<TransportSinkError, TransportStreamError>where
TransportSinkError: Display,
TransportStreamError: Display,
source§impl<TransportSinkError, TransportStreamError> Error for ProvideError<TransportSinkError, TransportStreamError>where
TransportSinkError: Debug + Display,
TransportStreamError: Debug + Display,
impl<TransportSinkError, TransportStreamError> Error for ProvideError<TransportSinkError, TransportStreamError>where
TransportSinkError: Debug + Display,
TransportStreamError: Debug + Display,
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<TransportSinkError, TransportStreamError> From<ChMuxError<TransportSinkError, TransportStreamError>> for ProvideError<TransportSinkError, TransportStreamError>
impl<TransportSinkError, TransportStreamError> From<ChMuxError<TransportSinkError, TransportStreamError>> for ProvideError<TransportSinkError, TransportStreamError>
source§fn from(err: ChMuxError<TransportSinkError, TransportStreamError>) -> Self
fn from(err: ChMuxError<TransportSinkError, TransportStreamError>) -> Self
Converts to this type from the input type.
source§impl<TransportSinkError, TransportStreamError> From<ConnectError<TransportSinkError, TransportStreamError>> for ProvideError<TransportSinkError, TransportStreamError>
impl<TransportSinkError, TransportStreamError> From<ConnectError<TransportSinkError, TransportStreamError>> for ProvideError<TransportSinkError, TransportStreamError>
source§fn from(err: ConnectError<TransportSinkError, TransportStreamError>) -> Self
fn from(err: ConnectError<TransportSinkError, TransportStreamError>) -> Self
Converts to this type from the input type.