pub struct Openh264Decoder<S> { /* private fields */ }Implementations§
Source§impl<S: Send + Default + 'static> Openh264Decoder<S>
impl<S: Send + Default + 'static> Openh264Decoder<S>
Trait Implementations§
Source§impl<F: EncodedFrame + 'static> Service<F> for Openh264Decoder<F::Source>
impl<F: EncodedFrame + 'static> Service<F> for Openh264Decoder<F::Source>
type Out = Result<DecodedFrame<<F as DataFrame>::Source>, Error>
fn handle(&mut self, frame: F, _cx: &Context) -> impl Stream<Item = Self::Out>
fn handle_stream( &mut self, input: impl Stream<Item = In> + Send, cx: &Context, ) -> impl Stream<Item = Self::Out> + Send
fn finalize(&mut self, _cx: &Context) -> impl Future<Output = ()>where
Self: Sized,
Auto Trait Implementations§
impl<S> Freeze for Openh264Decoder<S>
impl<S> !RefUnwindSafe for Openh264Decoder<S>
impl<S> Send for Openh264Decoder<S>where
S: Send,
impl<S> Sync for Openh264Decoder<S>where
S: Send,
impl<S> Unpin for Openh264Decoder<S>
impl<S> !UnwindSafe for Openh264Decoder<S>
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