pub struct NotifyController { /* private fields */ }Implementations§
Source§impl NotifyController
impl NotifyController
pub async fn subscribe_new_open_tx<S: ToString>( &self, name: S, ) -> Receiver<OpenTransaction>
pub fn notify_new_open_tx(&self, otx: OpenTransaction)
pub async fn subscribe_commit_open_tx<S: ToString>( &self, name: S, ) -> Receiver<Vec<H256>>
pub fn notify_commit_open_tx(&self, otx_hashes: Vec<H256>)
pub async fn subscribe_interval<S: ToString>(&self, name: S) -> Receiver<u64>
pub fn notify_interval(&self, elapsed_secs: u64)
pub async fn subscribe_start<S: ToString>(&self, name: S) -> Receiver<()>
pub fn notify_start(&self)
pub async fn subscribe_stop<S: ToString>(&self, name: S) -> Receiver<()>
pub fn notify_stop(&self)
Trait Implementations§
Source§impl Clone for NotifyController
impl Clone for NotifyController
Source§fn clone(&self) -> NotifyController
fn clone(&self) -> NotifyController
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for NotifyController
impl !RefUnwindSafe for NotifyController
impl Send for NotifyController
impl Sync for NotifyController
impl Unpin for NotifyController
impl !UnwindSafe for NotifyController
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