Skip to main content

ProcessorProgress

Trait ProcessorProgress 

Source
pub trait ProcessorProgress: Send + Sync {
    // Required method
    fn on_progress(&self, ratio: f32);

    // Provided method
    fn is_cancelled(&self) -> bool { ... }
}

Required Methods§

Source

fn on_progress(&self, ratio: f32)

Provided Methods§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl ProcessorProgress for ExportProgress<'_>

Source§

fn on_progress(&self, ratio: f32)

Source§

fn is_cancelled(&self) -> bool

Implementors§