pub struct EncodeResult {
pub job: EncodeJob,
pub bitrate: f64,
pub file_size: u64,
pub duration: Duration,
}Expand description
Output of a completed encode.
Fields§
§job: EncodeJobThe job that produced this result.
bitrate: f64Average bitrate of the output in kbps, measured by probing it.
file_size: u64Output file size in bytes.
duration: DurationWall-clock time taken to encode.
Trait Implementations§
Source§impl Clone for EncodeResult
impl Clone for EncodeResult
Source§fn clone(&self) -> EncodeResult
fn clone(&self) -> EncodeResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for EncodeResult
impl RefUnwindSafe for EncodeResult
impl Send for EncodeResult
impl Sync for EncodeResult
impl Unpin for EncodeResult
impl UnsafeUnpin for EncodeResult
impl UnwindSafe for EncodeResult
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