Enum medea_jason::peer::media::InsertLocalTracksError
source · 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 copy 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(original: InsertLocalTracksError) -> ChangeMediaStateError
fn from(original: InsertLocalTracksError) -> ChangeMediaStateError
Converts to this type from the input type.
source§impl From<InsertLocalTracksError> for UpdateLocalStreamError
impl From<InsertLocalTracksError> for UpdateLocalStreamError
source§fn from(original: InsertLocalTracksError) -> UpdateLocalStreamError
fn from(original: InsertLocalTracksError) -> UpdateLocalStreamError
Converts to this type from the input type.
source§impl From<InsertTrackError> for InsertLocalTracksError
impl From<InsertTrackError> for InsertLocalTracksError
source§fn from(original: InsertTrackError) -> InsertLocalTracksError
fn from(original: InsertTrackError) -> InsertLocalTracksError
Converts to this type from the input type.
Auto Trait Implementations§
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