Struct lightning_block_sync::ChainNotifier
source · pub struct ChainNotifier<'a, C: Cache, L: Deref>{ /* private fields */ }
Expand description
Notifies listeners of blocks that have been connected or disconnected from the chain.
Auto Trait Implementations§
impl<'a, C, L> Freeze for ChainNotifier<'a, C, L>where
L: Freeze,
impl<'a, C, L> RefUnwindSafe for ChainNotifier<'a, C, L>where
L: RefUnwindSafe,
C: RefUnwindSafe,
impl<'a, C, L> Send for ChainNotifier<'a, C, L>
impl<'a, C, L> Sync for ChainNotifier<'a, C, L>
impl<'a, C, L> Unpin for ChainNotifier<'a, C, L>where
L: Unpin,
impl<'a, C, L> !UnwindSafe for ChainNotifier<'a, C, L>
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