pub enum QueryUpdate {
Result(Box<QueryResult>),
NewConnection(NodeInfo),
LostConnection(NodeInfo),
}
Expand description
A update event from an ongoing query.
Variants§
Result(Box<QueryResult>)
The query has found a matching entry
NewConnection(NodeInfo)
The query has found a new node to run the query on
LostConnection(NodeInfo)
A node the query was being run on became disconnected
Auto Trait Implementations§
impl Freeze for QueryUpdate
impl !RefUnwindSafe for QueryUpdate
impl !Send for QueryUpdate
impl !Sync for QueryUpdate
impl Unpin for QueryUpdate
impl !UnwindSafe for QueryUpdate
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