Type Alias BoxedObserver

Source
pub type BoxedObserver<T, Error = ()> = Box<dyn AbstractObserver<T, Error>>;
Expand description

The BoxedObserver type represents an abstract observer into a box.

Aliased Type§

pub struct BoxedObserver<T, Error = ()>(/* private fields */);

Trait Implementations§

Source§

impl<T, Error> From<Observer<T, Error>> for BoxedObserver<T, Error>
where T: Send + Sync + 'static, Error: Send + Sync + 'static,

Source§

fn from(value: Observer<T, Error>) -> Self

Converts to this type from the input type.