pub enum RtcStatsError {
UndefinedId,
UndefinedStats,
Platform(Error),
ParseError(Rc<Error>),
}Expand description
Errors which can occur during deserialization of a RtcStatsType.
Variants§
UndefinedId
RTCStats.id is undefined.
UndefinedStats
[RTCStats.stats] are undefined.
Platform(Error)
Some platform error occurred.
ParseError(Rc<Error>)
platform::RtcStats deserialization error.
Trait Implementations§
Source§impl Caused for RtcStatsError
impl Caused for RtcStatsError
Source§impl Clone for RtcStatsError
impl Clone for RtcStatsError
Source§fn clone(&self) -> RtcStatsError
fn clone(&self) -> RtcStatsError
Returns a duplicate 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 RtcStatsError
impl Debug for RtcStatsError
Source§impl Display for RtcStatsError
impl Display for RtcStatsError
Source§impl From<Error> for RtcStatsError
impl From<Error> for RtcStatsError
Source§impl From<RtcStatsError> for RtcPeerConnectionError
impl From<RtcStatsError> for RtcPeerConnectionError
Source§fn from(value: RtcStatsError) -> Self
fn from(value: RtcStatsError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for RtcStatsError
impl !RefUnwindSafe for RtcStatsError
impl !Send for RtcStatsError
impl !Sync for RtcStatsError
impl Unpin for RtcStatsError
impl !UnwindSafe for RtcStatsError
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