pub struct WorkflowPlanner { /* private fields */ }Expand description
Workflow planner for estimating time and resources.
Implementations§
Source§impl WorkflowPlanner
impl WorkflowPlanner
Sourcepub fn plan_generation(
&self,
inputs: &[MediaInfo],
settings: ProxyGenerationSettings,
) -> Result<WorkflowPlan>
pub fn plan_generation( &self, inputs: &[MediaInfo], settings: ProxyGenerationSettings, ) -> Result<WorkflowPlan>
Plan a proxy generation workflow.
Sourcepub fn plan_offline_workflow(
&self,
inputs: &[MediaInfo],
settings: ProxyGenerationSettings,
estimated_editing_time: f64,
) -> Result<OfflineWorkflowPlan>
pub fn plan_offline_workflow( &self, inputs: &[MediaInfo], settings: ProxyGenerationSettings, estimated_editing_time: f64, ) -> Result<OfflineWorkflowPlan>
Plan a complete offline-to-online workflow.
Sourcepub fn estimate_storage(
&self,
inputs: &[MediaInfo],
settings: &ProxyGenerationSettings,
keep_originals: bool,
) -> StorageEstimate
pub fn estimate_storage( &self, inputs: &[MediaInfo], settings: &ProxyGenerationSettings, keep_originals: bool, ) -> StorageEstimate
Estimate storage requirements for a workflow.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for WorkflowPlanner
impl RefUnwindSafe for WorkflowPlanner
impl Send for WorkflowPlanner
impl Sync for WorkflowPlanner
impl Unpin for WorkflowPlanner
impl UnsafeUnpin for WorkflowPlanner
impl UnwindSafe for WorkflowPlanner
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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