#[non_exhaustive]pub enum SubmittedVideo {
Contiguous(CompressedFrame<VideoPacketFormat>),
Scatter(ScatterFrame<VideoPacketFormat>),
}Expand description
A video frame that was submitted asynchronously and that the SDK has finished with.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Contiguous(CompressedFrame<VideoPacketFormat>)
A frame submitted with CompressedSender::submit_video.
Scatter(ScatterFrame<VideoPacketFormat>)
A frame submitted with CompressedSender::submit_scatter_video.
Implementations§
Source§impl SubmittedVideo
impl SubmittedVideo
Sourcepub fn format(&self) -> VideoPacketFormat
pub fn format(&self) -> VideoPacketFormat
The frame’s format.
Trait Implementations§
Source§impl Clone for SubmittedVideo
impl Clone for SubmittedVideo
Auto Trait Implementations§
impl Freeze for SubmittedVideo
impl RefUnwindSafe for SubmittedVideo
impl Send for SubmittedVideo
impl Sync for SubmittedVideo
impl Unpin for SubmittedVideo
impl UnsafeUnpin for SubmittedVideo
impl UnwindSafe for SubmittedVideo
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