Enum quic_rpc::transport::quinn::CreateChannelError
source · pub enum CreateChannelError {
Io(ErrorKind, String),
Connect(ConnectError),
Connection(ConnectionError),
}
Expand description
CreateChannelError for quinn channels.
Variants§
Io(ErrorKind, String)
Something went wrong immediately when creating the quinn endpoint
Connect(ConnectError)
Error directly when calling connect on the quinn endpoint
Connection(ConnectionError)
Error produced by the future returned by connect
Trait Implementations§
source§impl Clone for CreateChannelError
impl Clone for CreateChannelError
source§fn clone(&self) -> CreateChannelError
fn clone(&self) -> CreateChannelError
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 CreateChannelError
impl Debug for CreateChannelError
source§impl Display for CreateChannelError
impl Display for CreateChannelError
source§impl Error for CreateChannelError
impl Error for CreateChannelError
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()