pub struct FfmpegLogParser<R: Read> { /* private fields */ }
Implementations§
Source§impl<R: Read> FfmpegLogParser<R>
impl<R: Read> FfmpegLogParser<R>
Sourcepub fn parse_next_event(&mut self) -> Result<FfmpegEvent>
pub fn parse_next_event(&mut self) -> Result<FfmpegEvent>
Consume lines from the inner reader until obtaining a completed
FfmpegEvent
, returning it.
Typically this consumes a single line, but in the case of multi-line input/output stream specifications, nested method calls will consume additional lines until the entire vector of Inputs/Outputs is parsed.
Line endings can be marked by three possible delimiters:
\n
(MacOS),\r\n
(Windows)\r
(Windows, progress updates which overwrite the previous line)
pub fn new(inner: R) -> Self
Auto Trait Implementations§
impl<R> Freeze for FfmpegLogParser<R>where
R: Freeze,
impl<R> RefUnwindSafe for FfmpegLogParser<R>where
R: RefUnwindSafe,
impl<R> Send for FfmpegLogParser<R>where
R: Send,
impl<R> Sync for FfmpegLogParser<R>where
R: Sync,
impl<R> Unpin for FfmpegLogParser<R>where
R: Unpin,
impl<R> UnwindSafe for FfmpegLogParser<R>where
R: UnwindSafe,
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