Enum webrtc_sctp::error::SctpError[][src]

pub enum SctpError {
    Io(Error),
    ReadUnderrun,
    InvalidPacket,
    BadChecksum,
    BadState,
    ExpectedBeginningFragment,
    UnexpectedBeginningFragment,
    UnexpectedSSN,
    SendQueueFull,
    CommandQueueFull,
    Closed,
    Timeout,
}

The errors that may be returned by SCTP functions are categorized into these enum variants.

Variants

Trait Implementations

impl Debug for SctpError
[src]

Formats the value using the given formatter. Read more

impl Display for SctpError
[src]

Provide human-readable descriptions of the errors

impl Error for SctpError
[src]

Provide terse descriptions of the errors.

For errors which encapsulate another error, allow the caller to fetch the contained error.

impl From<Error> for SctpError
[src]

Performs the conversion.

Auto Trait Implementations

impl Send for SctpError

impl Sync for SctpError