Enum webrtc_sdp::error::SdpParserInternalError
source · pub enum SdpParserInternalError {
UnknownAddressType(String),
AddressTypeMismatch {
found: AddressType,
expected: AddressType,
},
Generic(String),
Unsupported(String),
Integer(ParseIntError),
Float(ParseFloatError),
Domain(ParseError),
IpAddress(AddrParseError),
}
Variants§
UnknownAddressType(String)
AddressTypeMismatch
Generic(String)
Unsupported(String)
Integer(ParseIntError)
Float(ParseFloatError)
Domain(ParseError)
IpAddress(AddrParseError)
Trait Implementations§
source§impl Clone for SdpParserInternalError
impl Clone for SdpParserInternalError
source§fn clone(&self) -> SdpParserInternalError
fn clone(&self) -> SdpParserInternalError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SdpParserInternalError
impl Debug for SdpParserInternalError
source§impl Display for SdpParserInternalError
impl Display for SdpParserInternalError
source§impl Error for SdpParserInternalError
impl Error for SdpParserInternalError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<AddrParseError> for SdpParserInternalError
impl From<AddrParseError> for SdpParserInternalError
source§fn from(err: AddrParseError) -> SdpParserInternalError
fn from(err: AddrParseError) -> SdpParserInternalError
Converts to this type from the input type.
source§impl From<ParseError> for SdpParserInternalError
impl From<ParseError> for SdpParserInternalError
source§fn from(err: ParseError) -> SdpParserInternalError
fn from(err: ParseError) -> SdpParserInternalError
Converts to this type from the input type.
source§impl From<ParseFloatError> for SdpParserInternalError
impl From<ParseFloatError> for SdpParserInternalError
source§fn from(err: ParseFloatError) -> SdpParserInternalError
fn from(err: ParseFloatError) -> SdpParserInternalError
Converts to this type from the input type.
source§impl From<ParseIntError> for SdpParserInternalError
impl From<ParseIntError> for SdpParserInternalError
source§fn from(err: ParseIntError) -> SdpParserInternalError
fn from(err: ParseIntError) -> SdpParserInternalError
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SdpParserInternalError
impl RefUnwindSafe for SdpParserInternalError
impl Send for SdpParserInternalError
impl Sync for SdpParserInternalError
impl Unpin for SdpParserInternalError
impl UnwindSafe for SdpParserInternalError
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)