Struct essential_storage::streams::Notify
source · pub struct Notify { /* private fields */ }Expand description
Notify that there are new contracts or blocks.
Implementations§
source§impl Notify
impl Notify
sourcepub fn notify_new_contracts(&self)
pub fn notify_new_contracts(&self)
Notify that there are new contracts.
sourcepub fn notify_new_blocks(&self)
pub fn notify_new_blocks(&self)
Notify that there are new blocks.
sourcepub fn subscribe_contracts(&self) -> NewData
pub fn subscribe_contracts(&self) -> NewData
Subscribe to new contracts.
sourcepub fn subscribe_blocks(&self) -> NewData
pub fn subscribe_blocks(&self) -> NewData
Subscribe to new blocks.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Notify
impl !RefUnwindSafe for Notify
impl Send for Notify
impl Sync for Notify
impl Unpin for Notify
impl !UnwindSafe for Notify
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)