Enum medea_jason::api::RoomError[][src]

pub enum RoomError {
    CallbackNotSet(&'static str),
    InvalidLocalTracks(PeerError),
    CouldNotGetLocalMedia(PeerError),
    NoSuchPeer(PeerId),
    PeerConnectionError(PeerError),
    UnknownRemoteMember,
    FailedTrackPatch(TrackId),
    MediaConnections(MediaConnectionsError),
    SessionError(SessionError),
    MediaManagerError(MediaManagerError),
}

Errors that may occur in a Room.

Variants

CallbackNotSet(&'static str)

Returned if the mandatory callback wasn’t set.

InvalidLocalTracks(PeerError)

Returned if the previously added local media tracks does not satisfy the tracks sent from the media server.

CouldNotGetLocalMedia(PeerError)

Returned if PeerConnection cannot receive the local tracks from MediaManager.

NoSuchPeer(PeerId)

Returned if the requested PeerConnection is not found.

PeerConnectionError(PeerError)

Returned if an error occurred during the WebRTC signaling process with remote peer.

UnknownRemoteMember

Returned if was received event PeerEvent::NewRemoteTrack without connection with remote Member.

FailedTrackPatch(TrackId)

Returned if track update failed.

MediaConnections(MediaConnectionsError)

Typically, returned if RoomHandle::disable_audio-like functions called simultaneously.

SessionError(SessionError)
MediaManagerError(MediaManagerError)

Trait Implementations

impl Clone for RoomError[src]

impl Debug for RoomError[src]

impl Display for RoomError[src]

impl From<()> for RoomError[src]

impl From<MediaConnectionsError> for RoomError[src]

impl From<MediaManagerError> for RoomError[src]

impl From<PeerError> for RoomError[src]

impl From<SessionError> for RoomError[src]

impl JsCaused for RoomError[src]

type Error = JsError

Type of wrapper for JS error.

Auto Trait Implementations

impl !RefUnwindSafe for RoomError

impl !Send for RoomError

impl !Sync for RoomError

impl Unpin for RoomError

impl !UnwindSafe for RoomError

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]