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
Io(Error)
ReadUnderrun
InvalidPacket
BadChecksum
BadState
ExpectedBeginningFragment
UnexpectedBeginningFragment
UnexpectedSSN
SendQueueFull
CommandQueueFull
Closed
Timeout
Trait Implementations
impl Debug for SctpError
[src]
impl Debug for SctpError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Display for SctpError
[src]
impl Display for SctpError
impl Error for SctpError
[src]
impl Error for SctpError
fn description(&self) -> &str
[src]
fn description(&self) -> &str
Provide terse descriptions of the errors.
fn cause(&self) -> Option<&Error>
[src]
fn cause(&self) -> Option<&Error>
For errors which encapsulate another error, allow the caller to fetch the contained error.
impl From<Error> for SctpError
[src]
impl From<Error> for SctpError