pub struct FfmpegPolicy {
pub enabled: bool,
pub binary: String,
pub max_frames: usize,
pub max_output_bytes: usize,
pub timeout_secs: u64,
}Expand description
Operator policy for subprocess decoding.
Fields§
§enabled: bool§binary: StringBinary to run. A name is resolved on PATH; an absolute path is used as given, so a deployment can pin a known build.
max_frames: usize§max_output_bytes: usize§timeout_secs: u64Trait Implementations§
Source§impl Clone for FfmpegPolicy
impl Clone for FfmpegPolicy
Source§fn clone(&self) -> FfmpegPolicy
fn clone(&self) -> FfmpegPolicy
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FfmpegPolicy
impl Debug for FfmpegPolicy
Auto Trait Implementations§
impl Freeze for FfmpegPolicy
impl RefUnwindSafe for FfmpegPolicy
impl Send for FfmpegPolicy
impl Sync for FfmpegPolicy
impl Unpin for FfmpegPolicy
impl UnwindSafe for FfmpegPolicy
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