Enum sdp::Error [−][src]
#[non_exhaustive]
pub enum Error {
Show 13 variants
CodecNotFound,
MissingWhitespace,
MissingColon,
PayloadTypeNotFound,
Io(IoError),
Utf8(FromUtf8Error),
SdpInvalidSyntax(String),
SdpInvalidValue(String),
SdpEmptyTimeDescription,
ParseInt(ParseIntError),
ParseUrl(ParseError),
ParseExtMap(String),
SyntaxError {
s: String,
p: usize,
},
}
Variants (Non-exhaustive)
This enum is marked as 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.
CodecNotFound
MissingWhitespace
MissingColon
PayloadTypeNotFound
Io(IoError)
Utf8(FromUtf8Error)
Tuple Fields
SdpInvalidSyntax(String)
Tuple Fields
0: String
SdpInvalidValue(String)
Tuple Fields
0: String
SdpEmptyTimeDescription
ParseInt(ParseIntError)
Tuple Fields
ParseUrl(ParseError)
Tuple Fields
0: ParseError
ParseExtMap(String)
Tuple Fields
0: String
SyntaxError
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.