pub enum QueryReply<Key, Service>{
Unknown {
key: Key,
},
Known {
key: Key,
status: DynamicStatus<Service>,
},
}Expand description
Immediate reply to a read-only keyed query.
Variants§
Auto Trait Implementations§
impl<Key, Service> Freeze for QueryReply<Key, Service>where
<Service as Protocol>::Addr: Sized,
Key: Freeze,
<<Service as Protocol>::Addr as EndpointAddress>::Established<Service>: Freeze,
impl<Key, Service> RefUnwindSafe for QueryReply<Key, Service>where
<Service as Protocol>::Addr: Sized,
Key: RefUnwindSafe,
<<Service as Protocol>::Addr as EndpointAddress>::Established<Service>: RefUnwindSafe,
impl<Key, Service> Send for QueryReply<Key, Service>where
<Service as Protocol>::Addr: Sized,
Key: Send,
<<Service as Protocol>::Addr as EndpointAddress>::Established<Service>: Send,
impl<Key, Service> Sync for QueryReply<Key, Service>where
<Service as Protocol>::Addr: Sized,
Key: Sync,
<<Service as Protocol>::Addr as EndpointAddress>::Established<Service>: Sync,
impl<Key, Service> Unpin for QueryReply<Key, Service>where
<Service as Protocol>::Addr: Sized,
Key: Unpin,
<<Service as Protocol>::Addr as EndpointAddress>::Established<Service>: Unpin,
impl<Key, Service> UnsafeUnpin for QueryReply<Key, Service>where
<Service as Protocol>::Addr: Sized,
Key: UnsafeUnpin,
<<Service as Protocol>::Addr as EndpointAddress>::Established<Service>: UnsafeUnpin,
impl<Key, Service> UnwindSafe for QueryReply<Key, Service>where
<Service as Protocol>::Addr: Sized,
Key: UnwindSafe,
<<Service as Protocol>::Addr as EndpointAddress>::Established<Service>: UnwindSafe,
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