pub struct Notifier { /* private fields */ }Expand description
Used to signal to one of many waiters that the condition they’re waiting on has happened.
This is usually used by LDK objects such as ChannelManager or PeerManager to signal to
the background processor that it should wake up and process pending events.
Implementations§
Auto Trait Implementations§
impl !Freeze for Notifier
impl RefUnwindSafe for Notifier
impl Send for Notifier
impl Sync for Notifier
impl Unpin for Notifier
impl UnwindSafe for Notifier
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