#[repr(u8)]pub enum LocalMediaInitExceptionKind {
GetUserMediaFailed = 0,
GetUserMediaAudioFailed = 1,
GetUserMediaVideoFailed = 2,
GetDisplayMediaFailed = 3,
LocalTrackIsEnded = 4,
}
Expand description
Possible error kinds of a LocalMediaInitException
.
Variants§
GetUserMediaFailed = 0
Occurs if the getUserMedia() request failed.
GetUserMediaAudioFailed = 1
Occurs if the getUserMedia() request failed on getting audio track.
GetUserMediaVideoFailed = 2
Occurs if the getUserMedia() request failed on getting video track.
GetDisplayMediaFailed = 3
Occurs if the getDisplayMedia() request failed.
LocalTrackIsEnded = 4
Occurs when local track is ended
right after getUserMedia()
or getDisplayMedia() request.
Trait Implementations§
Source§impl Clone for LocalMediaInitExceptionKind
impl Clone for LocalMediaInitExceptionKind
Source§fn clone(&self) -> LocalMediaInitExceptionKind
fn clone(&self) -> LocalMediaInitExceptionKind
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 LocalMediaInitExceptionKind
impl Debug for LocalMediaInitExceptionKind
impl Copy for LocalMediaInitExceptionKind
impl Eq for LocalMediaInitExceptionKind
impl StructuralPartialEq for LocalMediaInitExceptionKind
Auto Trait Implementations§
impl Freeze for LocalMediaInitExceptionKind
impl RefUnwindSafe for LocalMediaInitExceptionKind
impl Send for LocalMediaInitExceptionKind
impl Sync for LocalMediaInitExceptionKind
impl Unpin for LocalMediaInitExceptionKind
impl UnwindSafe for LocalMediaInitExceptionKind
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