pub enum GetUserMediaError {
Audio(Error),
Video(Error),
Unknown(Error),
}
Expand description
Error
appeared on getUserMedia() request, differentiated by its
cause.
Variants§
Audio(Error)
Error
has been caused by getting audio.
Video(Error)
Error
has been caused by getting video.
Unknown(Error)
Cause cannot be identified.
Trait Implementations§
Source§impl Caused for GetUserMediaError
impl Caused for GetUserMediaError
Source§impl Clone for GetUserMediaError
impl Clone for GetUserMediaError
Source§fn clone(&self) -> GetUserMediaError
fn clone(&self) -> GetUserMediaError
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 GetUserMediaError
impl Debug for GetUserMediaError
Source§impl Display for GetUserMediaError
impl Display for GetUserMediaError
Source§impl From<Error> for GetUserMediaError
impl From<Error> for GetUserMediaError
Source§impl From<GetUserMediaError> for GetUserMediaError
impl From<GetUserMediaError> for GetUserMediaError
Source§fn from(value: GetUserMediaError) -> Self
fn from(value: GetUserMediaError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for GetUserMediaError
impl RefUnwindSafe for GetUserMediaError
impl !Send for GetUserMediaError
impl !Sync for GetUserMediaError
impl Unpin for GetUserMediaError
impl UnwindSafe for GetUserMediaError
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