pub struct FilterContextSink<'a>(/* private fields */);
Expand description
A sink for a filter context. Where this is specifically used to receive frames from the filter context.
Implementations§
Source§impl FilterContextSink<'_>
impl FilterContextSink<'_>
Sourcepub fn receive_frame(&mut self) -> Result<Option<GenericFrame>, FfmpegError>
pub fn receive_frame(&mut self) -> Result<Option<GenericFrame>, FfmpegError>
Receives a frame from the filter context.
Trait Implementations§
impl Send for FilterContextSink<'_>
Safety: FilterContextSink
is safe to send between threads.
Auto Trait Implementations§
impl<'a> Freeze for FilterContextSink<'a>
impl<'a> RefUnwindSafe for FilterContextSink<'a>
impl<'a> !Sync for FilterContextSink<'a>
impl<'a> Unpin for FilterContextSink<'a>
impl<'a> !UnwindSafe for FilterContextSink<'a>
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