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)>
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 CreateChannelError
impl From<ConnectError> for CreateChannelError
Source§fn from(e: ConnectError) -> Self
fn from(e: ConnectError) -> Self
Converts to this type from the input type.
Source§impl From<ConnectionError> for CreateChannelError
impl From<ConnectionError> for CreateChannelError
Source§fn from(e: ConnectionError) -> Self
fn from(e: ConnectionError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !Freeze for CreateChannelError
impl RefUnwindSafe for CreateChannelError
impl Send for CreateChannelError
impl Sync for CreateChannelError
impl Unpin for CreateChannelError
impl UnwindSafe for CreateChannelError
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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