pub struct SinglePassLookaheadExample { /* private fields */ }Expand description
Example: Single-pass encoding with look-ahead for live streaming.
This example shows how to use look-ahead in single-pass mode for applications where two-pass encoding is not feasible.
Implementations§
Auto Trait Implementations§
impl Freeze for SinglePassLookaheadExample
impl RefUnwindSafe for SinglePassLookaheadExample
impl Send for SinglePassLookaheadExample
impl Sync for SinglePassLookaheadExample
impl Unpin for SinglePassLookaheadExample
impl UnsafeUnpin for SinglePassLookaheadExample
impl UnwindSafe for SinglePassLookaheadExample
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more