Enum medea_jason::api::RoomError [−][src]
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.
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)
RpcSession
returned SessionError
.
MediaManagerError(MediaManagerError)
peer::repo::Component
returned 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]
fn from(original: MediaConnectionsError) -> RoomError
[src]
impl From<MediaManagerError> for RoomError
[src]
fn from(original: MediaManagerError) -> RoomError
[src]
impl From<PeerError> for RoomError
[src]
impl From<SessionError> for RoomError
[src]
fn from(original: SessionError) -> RoomError
[src]
impl JsCaused for RoomError
[src]
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]
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.