Skip to main content

ProgressExt

Trait ProgressExt 

Source
pub trait ProgressExt<T> {
    // Required method
    fn to_observer(&self) -> Rc<dyn IObserver<T>>;
}
Expand description

The extension methods of Observer on a progress object (Observer.Extensions.cs).

Required Methods§

Source

fn to_observer(&self) -> Rc<dyn IObserver<T>>

An observer whose values are reports of this progress object; an error panics, as the observer of upstream rethrows it (ToObserver(IProgress<T>)).

Dyn Compatibility§

This trait is dyn compatible.

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

Implementations on Foreign Types§

Source§

impl<T: 'static> ProgressExt<T> for Rc<dyn IProgress<T>>

Source§

fn to_observer(&self) -> Rc<dyn IObserver<T>>

Implementors§