Enum medea_jason::peer::RtcPeerConnectionError[][src]

pub enum RtcPeerConnectionError {
    AddIceCandidateFailed(JsError),
    CreateAnswerFailed(JsError),
    PeerCreationError(JsError),
    CreateOfferFailed(JsError),
    PeerConnectionEventBindFailed(EventListenerBindError),
    RtcStatsError(RtcStatsError),
    GetStatsException(JsError),
    SetLocalDescriptionFailed(JsError),
    SetRemoteDescriptionFailed(JsError),
}

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.

RtcStatsError(RtcStatsError)

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]

impl Debug for RtcPeerConnectionError[src]

impl Display for RtcPeerConnectionError[src]

impl From<EventListenerBindError> for RtcPeerConnectionError[src]

impl From<RtcPeerConnectionError> for PeerError[src]

impl JsCaused for RtcPeerConnectionError[src]

type Error = JsError

Type of wrapper for JS error.

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<E> WrapTraced<E> for E[src]