pub struct ObservableNode { /* private fields */ }Expand description
Default implementation of Observable
Implementations§
Trait Implementations§
Source§impl Default for ObservableNode
impl Default for ObservableNode
Source§impl Observable for ObservableNode
impl Observable for ObservableNode
Source§fn add_observer(&mut self, observer: Arc<dyn Observer>)
fn add_observer(&mut self, observer: Arc<dyn Observer>)
Add an observer to this observable
Source§fn notify_start(&self, node_name: &str, inputs: &Value)
fn notify_start(&self, node_name: &str, inputs: &Value)
Notify observers that a node has started
Source§fn notify_end(&self, node_name: &str, outputs: &Value)
fn notify_end(&self, node_name: &str, outputs: &Value)
Notify observers that a node has completed
Source§fn notify_error(&self, node_name: &str, error: &str)
fn notify_error(&self, node_name: &str, error: &str)
Notify observers that a node encountered an error
Auto Trait Implementations§
impl Freeze for ObservableNode
impl RefUnwindSafe for ObservableNode
impl Send for ObservableNode
impl Sync for ObservableNode
impl Unpin for ObservableNode
impl UnsafeUnpin for ObservableNode
impl UnwindSafe for ObservableNode
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