Enum yamux::FrameDecodeError [−][src]
#[non_exhaustive]
pub enum FrameDecodeError {
    Io(Error),
    Header(HeaderDecodeError),
    FrameTooLarge(usize),
}Possible errors while decoding a message frame.
Variants (Non-exhaustive)
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Io(Error)An I/O error.
Header(HeaderDecodeError)Decoding the frame header failed.
FrameTooLarge(usize)A data frame body length is larger than the configured maximum.
Trait Implementations
impl Error for FrameDecodeError[src]
impl Error for FrameDecodeError[src]impl From<FrameDecodeError> for ConnectionError[src]
impl From<FrameDecodeError> for ConnectionError[src]fn from(e: FrameDecodeError) -> Self[src]
impl From<HeaderDecodeError> for FrameDecodeError[src]
impl From<HeaderDecodeError> for FrameDecodeError[src]