pub enum InsertLocalTracksError {
InvalidMediaTrack,
NotEnoughTracks,
CouldNotInsertLocalTrack(InsertTrackError),
}
Expand description
Errors occurring in MediaConnections::insert_local_tracks()
method.
Variants§
InvalidMediaTrack
local::Track
doesn’t satisfy Sender
’s constraints.
NotEnoughTracks
There are not enough local::Track
s being inserted into Sender
s.
CouldNotInsertLocalTrack(InsertTrackError)
Insertion of a local::Track
into a Sender
fails.
Trait Implementations§
Source§impl Caused for InsertLocalTracksError
impl Caused for InsertLocalTracksError
Source§impl Clone for InsertLocalTracksError
impl Clone for InsertLocalTracksError
Source§fn clone(&self) -> InsertLocalTracksError
fn clone(&self) -> InsertLocalTracksError
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 InsertLocalTracksError
impl Debug for InsertLocalTracksError
Source§impl Display for InsertLocalTracksError
impl Display for InsertLocalTracksError
Source§impl From<InsertLocalTracksError> for ChangeMediaStateError
impl From<InsertLocalTracksError> for ChangeMediaStateError
Source§fn from(value: InsertLocalTracksError) -> Self
fn from(value: InsertLocalTracksError) -> 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<InsertTrackError> for InsertLocalTracksError
impl From<InsertTrackError> for InsertLocalTracksError
Source§fn from(value: InsertTrackError) -> Self
fn from(value: InsertTrackError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for InsertLocalTracksError
impl RefUnwindSafe for InsertLocalTracksError
impl !Send for InsertLocalTracksError
impl !Sync for InsertLocalTracksError
impl Unpin for InsertLocalTracksError
impl UnwindSafe for InsertLocalTracksError
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