pub struct BlockRx(/* private fields */);
Expand description
Wrapper around watch::Receiver
to listen to new blocks.
This is used by [db::subscribe_blocks
] stream.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BlockRx
impl !RefUnwindSafe for BlockRx
impl Send for BlockRx
impl Sync for BlockRx
impl Unpin for BlockRx
impl !UnwindSafe for BlockRx
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