Enum yamux::ConnectionError
source · pub enum ConnectionError {
Io(Error),
Decode(DecodeError),
NoMoreStreamIds,
Closed,
StreamNotFound(Id),
TooManyStreams,
// some variants omitted
}
Variants§
Trait Implementations§
source§impl Debug for ConnectionError
impl Debug for ConnectionError
source§impl Display for ConnectionError
impl Display for ConnectionError
source§impl Error for ConnectionError
impl Error for ConnectionError
source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§fn cause(&self) -> Option<&dyn Error>
fn cause(&self) -> Option<&dyn Error>
👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§impl From<DecodeError> for ConnectionError
impl From<DecodeError> for ConnectionError
source§fn from(e: DecodeError) -> ConnectionError
fn from(e: DecodeError) -> ConnectionError
Converts to this type from the input type.
source§impl From<Error> for ConnectionError
impl From<Error> for ConnectionError
source§fn from(e: Error) -> ConnectionError
fn from(e: Error) -> ConnectionError
Converts to this type from the input type.