pub struct CompletedVideo { /* private fields */ }Expand description
A frame the SDK has finished with, ready to be reused.
It was either reported complete or reclaimed by QueuedSender::close
after native destruction ended the SDK’s access to it.
Implementations§
Source§impl CompletedVideo
impl CompletedVideo
Sourcepub fn id(&self) -> SubmissionId
pub fn id(&self) -> SubmissionId
The identifier QueuedSender::try_submit returned for this frame.
Sourcepub fn frame(&self) -> &QueuedVideoFrame
pub fn frame(&self) -> &QueuedVideoFrame
The frame.
Sourcepub fn into_frame(self) -> QueuedVideoFrame
pub fn into_frame(self) -> QueuedVideoFrame
Take the frame.
Trait Implementations§
Source§impl Clone for CompletedVideo
impl Clone for CompletedVideo
Auto Trait Implementations§
impl Freeze for CompletedVideo
impl RefUnwindSafe for CompletedVideo
impl Send for CompletedVideo
impl Sync for CompletedVideo
impl Unpin for CompletedVideo
impl UnsafeUnpin for CompletedVideo
impl UnwindSafe for CompletedVideo
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