pub enum UpdateLocalStreamError {
InvalidLocalTracks(TracksRequestError),
CouldNotGetLocalMedia(InitLocalTracksError),
InsertLocalTracksError(InsertLocalTracksError),
}
Expand description
Errors occurring in PeerConnection::update_local_stream()
method.
Variants§
InvalidLocalTracks(TracksRequestError)
Errors occurred when TracksRequest
validation fails.
CouldNotGetLocalMedia(InitLocalTracksError)
MediaManager
failed to acquire local::Track
s.
InsertLocalTracksError(InsertLocalTracksError)
Errors occurred in MediaConnections::insert_local_tracks()
method.
Trait Implementations§
Source§impl Caused for UpdateLocalStreamError
impl Caused for UpdateLocalStreamError
Source§impl Clone for UpdateLocalStreamError
impl Clone for UpdateLocalStreamError
Source§fn clone(&self) -> UpdateLocalStreamError
fn clone(&self) -> UpdateLocalStreamError
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 UpdateLocalStreamError
impl Debug for UpdateLocalStreamError
Source§impl Display for UpdateLocalStreamError
impl Display for UpdateLocalStreamError
Source§impl From<InitLocalTracksError> for UpdateLocalStreamError
impl From<InitLocalTracksError> for UpdateLocalStreamError
Source§fn from(value: InitLocalTracksError) -> Self
fn from(value: InitLocalTracksError) -> Self
Converts to this type from the input type.
Source§impl From<InsertLocalTracksError> for UpdateLocalStreamError
impl From<InsertLocalTracksError> for UpdateLocalStreamError
Source§fn from(value: InsertLocalTracksError) -> Self
fn from(value: InsertLocalTracksError) -> Self
Converts to this type from the input type.
Source§impl From<TracksRequestError> for UpdateLocalStreamError
impl From<TracksRequestError> for UpdateLocalStreamError
Source§fn from(value: TracksRequestError) -> Self
fn from(value: TracksRequestError) -> Self
Converts to this type from the input type.
Source§impl From<UpdateLocalStreamError> for ChangeMediaStateError
impl From<UpdateLocalStreamError> for ChangeMediaStateError
Source§fn from(err: UpdateLocalStreamError) -> Self
fn from(err: UpdateLocalStreamError) -> Self
Converts to this type from the input type.
Source§impl From<UpdateLocalStreamError> for LocalMediaError
impl From<UpdateLocalStreamError> for LocalMediaError
Source§fn from(value: UpdateLocalStreamError) -> Self
fn from(value: UpdateLocalStreamError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for UpdateLocalStreamError
impl RefUnwindSafe for UpdateLocalStreamError
impl !Send for UpdateLocalStreamError
impl !Sync for UpdateLocalStreamError
impl Unpin for UpdateLocalStreamError
impl UnwindSafe for UpdateLocalStreamError
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