pub enum InitLocalTracksError {
Detached,
GetUserMediaFailed(GetUserMediaError),
GetDisplayMediaFailed(GetDisplayMediaError),
}Expand description
Errors returned from the MediaManagerHandle::init_local_tracks() method.
Variants§
Detached
MediaManagerHandle’s inner Weak pointer could not be upgraded.
GetUserMediaFailed(GetUserMediaError)
Occurs if the getUserMedia request fails.
GetDisplayMediaFailed(GetDisplayMediaError)
Occurs if the getDisplayMedia() request fails.
Trait Implementations§
Source§impl Caused for InitLocalTracksError
impl Caused for InitLocalTracksError
Source§impl Clone for InitLocalTracksError
impl Clone for InitLocalTracksError
Source§fn clone(&self) -> InitLocalTracksError
fn clone(&self) -> InitLocalTracksError
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 InitLocalTracksError
impl Debug for InitLocalTracksError
Source§impl Display for InitLocalTracksError
impl Display for InitLocalTracksError
Source§impl From<GetDisplayMediaError> for InitLocalTracksError
impl From<GetDisplayMediaError> for InitLocalTracksError
Source§fn from(value: GetDisplayMediaError) -> Self
fn from(value: GetDisplayMediaError) -> Self
Converts to this type from the input type.
Source§impl From<GetUserMediaError> for InitLocalTracksError
impl From<GetUserMediaError> for InitLocalTracksError
Source§fn from(value: GetUserMediaError) -> Self
fn from(value: GetUserMediaError) -> Self
Converts to this type from the input type.
Source§impl From<InitLocalTracksError> for ChangeMediaStateError
impl From<InitLocalTracksError> for ChangeMediaStateError
Source§fn from(value: InitLocalTracksError) -> Self
fn from(value: InitLocalTracksError) -> Self
Converts to this type from the input type.
Source§impl From<InitLocalTracksError> for GetLocalTracksError
impl From<InitLocalTracksError> for GetLocalTracksError
Source§fn from(value: InitLocalTracksError) -> Self
fn from(value: InitLocalTracksError) -> Self
Converts to this type from the input type.
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.
Auto Trait Implementations§
impl Freeze for InitLocalTracksError
impl RefUnwindSafe for InitLocalTracksError
impl !Send for InitLocalTracksError
impl !Sync for InitLocalTracksError
impl Unpin for InitLocalTracksError
impl UnwindSafe for InitLocalTracksError
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