pub enum NodeNotification {
DnsSeedAddresses(Vec<LocalAddress>),
FromPeer(u32, PeerMessages, Instant),
FromUser(UserRequest, Sender<NodeResponse>),
}Variants§
DnsSeedAddresses(Vec<LocalAddress>)
FromPeer(u32, PeerMessages, Instant)
FromUser(UserRequest, Sender<NodeResponse>)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for NodeNotification
impl !RefUnwindSafe for NodeNotification
impl Send for NodeNotification
impl Sync for NodeNotification
impl Unpin for NodeNotification
impl !UnwindSafe for NodeNotification
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