Enum medea_jason::peer::RtcPeerConnectionError [−][src]
Errors that may occur during signaling between this and remote RTCPeerConnection and event handlers setting errors.
Variants
AddIceCandidateFailed(JsError)
Occurs when cannot adds new remote candidate to the RTCPeerConnection’s remote description.
CreateAnswerFailed(JsError)
Occurs when cannot obtains SDP answer from the underlying RTCPeerConnection.
PeerCreationError(JsError)
Occurs when a new RtcPeerConnection
cannot be created.
CreateOfferFailed(JsError)
Occurs when cannot obtains SDP offer from the underlying RTCPeerConnection
PeerConnectionEventBindFailed(EventListenerBindError)
Occurs when handler failed to bind to some RtcPeerConnection
event.
Not really supposed to ever happen.
Occurs while getting and parsing RtcStats
of PeerConnection
.
GetStatsException(JsError)
PeerConnection.getStats promise thrown exception.
SetLocalDescriptionFailed(JsError)
Occurs if the local description associated with the
RtcPeerConnection
cannot be changed.
SetRemoteDescriptionFailed(JsError)
Occurs if the description of the remote end of the
RtcPeerConnection
cannot be changed.
Trait Implementations
impl Clone for RtcPeerConnectionError
[src]
fn clone(&self) -> RtcPeerConnectionError
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for RtcPeerConnectionError
[src]
impl Display for RtcPeerConnectionError
[src]
impl From<EventListenerBindError> for RtcPeerConnectionError
[src]
fn from(original: EventListenerBindError) -> RtcPeerConnectionError
[src]
impl From<RtcPeerConnectionError> for PeerError
[src]
fn from(original: RtcPeerConnectionError) -> PeerError
[src]
impl JsCaused for RtcPeerConnectionError
[src]
Auto Trait Implementations
impl !RefUnwindSafe for RtcPeerConnectionError
impl !Send for RtcPeerConnectionError
impl !Sync for RtcPeerConnectionError
impl Unpin for RtcPeerConnectionError
impl !UnwindSafe for RtcPeerConnectionError
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.