pub trait IStreamPlugin {
// Required methods
fn match_(&self, reference: &WeakValue) -> bool;
fn start(
&self,
reference: &WeakValue,
) -> Option<Rc<dyn IObservable<Option<BoxedValue>>>>;
}Expand description
Defines a plugin that handles the ^ stream binding operator.
Required Methods§
Sourcefn match_(&self, reference: &WeakValue) -> bool
fn match_(&self, reference: &WeakValue) -> bool
Checks whether this plugin handles the specified value.
Sourcefn start(
&self,
reference: &WeakValue,
) -> Option<Rc<dyn IObservable<Option<BoxedValue>>>>
fn start( &self, reference: &WeakValue, ) -> Option<Rc<dyn IObservable<Option<BoxedValue>>>>
Starts producing output based on the specified value.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".