pub trait EventEmitter {
// Required method
fn publish(&self, event: WalletEvent) -> Cursor;
}Expand description
Required Methods§
Sourcefn publish(&self, event: WalletEvent) -> Cursor
fn publish(&self, event: WalletEvent) -> Cursor
Publish an event, returning the monotonic Cursor stamped on it.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".