pub struct LookupHit<'a> {
pub index: u32,
pub ns: Namespace,
pub record: Option<HitRecord<'a>>,
}Expand description
One hit of one request id in one namespace.
Fields§
§index: u32Position of the id in the request.
ns: Namespace§record: Option<HitRecord<'a>>Present exactly when the request asked for records.
Trait Implementations§
impl<'a> Eq for LookupHit<'a>
impl<'a> StructuralPartialEq for LookupHit<'a>
Auto Trait Implementations§
impl<'a> Forget for LookupHit<'a>
impl<'a> Freeze for LookupHit<'a>
impl<'a> Move for LookupHit<'a>
impl<'a> RefUnwindSafe for LookupHit<'a>
impl<'a> Send for LookupHit<'a>
impl<'a> Sync for LookupHit<'a>
impl<'a> Unpin for LookupHit<'a>
impl<'a> UnsafeUnpin for LookupHit<'a>
impl<'a> UnwindSafe for LookupHit<'a>
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