Enum tokio_yamux::error::Error [−][src]
The error types
Variants
InvalidVersion means we received a frame with an invalid version
InvalidMsgType means we received a frame with an invalid message type
SessionShutdown is used if there is a shutdown during an operation
StreamsExhausted is returned if we have no more stream ids to issue
DuplicateStream is used if a duplicate stream is opened inbound
ReceiveWindowExceeded indicates the window was exceeded
Timeout is used when we reach an IO deadline
StreamClosed is returned when using a closed stream
UnexpectedFlag is set when we get an unexpected flag
RemoteGoAway is used when we get a go away from the other side
ConnectionReset is sent if a stream is reset. This can happen if the backlog is exceeded, or if there was a remote GoAway.
ConnectionWriteTimeout indicates that we hit the "safety valve" timeout writing to the underlying stream connection.
KeepAliveTimeout is sent if a missed keepalive caused the stream close
Remote sub stream is closed, but local can still send data to remote
Sub stream send event channel full, block to complete
Trait Implementations
impl Debug for Error
[src]
impl Display for Error
[src]
impl Eq for Error
[src]
impl Error for Error
[src]
pub fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0[src]
pub fn backtrace(&self) -> Option<&Backtrace>
[src]
pub fn description(&self) -> &str
1.0.0[src]
pub fn cause(&self) -> Option<&dyn Error>
1.0.0[src]
impl PartialEq<Error> for Error
[src]
impl StructuralEq for Error
[src]
impl StructuralPartialEq for Error
[src]
Auto Trait Implementations
impl RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl UnwindSafe for Error
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,