pub enum StreamVideoType {
Camera,
Screen,
Custom,
__Unknown,
}Expand description
Different type of video streams supported.
Variants§
Camera
This is a video stream coming from a camera.
Screen
This is a video stream coming from a screen capture.
Custom
This is a custom video stream.
__Unknown
Unknown video stream type.
Trait Implementations§
Source§impl From<u32> for StreamVideoType
impl From<u32> for StreamVideoType
Source§fn from(type_: otc_stream_video_type) -> StreamVideoType
fn from(type_: otc_stream_video_type) -> StreamVideoType
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for StreamVideoType
impl RefUnwindSafe for StreamVideoType
impl Send for StreamVideoType
impl Sync for StreamVideoType
impl Unpin for StreamVideoType
impl UnsafeUnpin for StreamVideoType
impl UnwindSafe for StreamVideoType
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