pub struct RoutabilityAdmissionReport {
pub admitted: bool,
pub requested: usize,
pub entry: Option<u32>,
pub checked_landmarks: Vec<u32>,
pub baseline_reachable_landmarks: usize,
pub residual_reachable_landmarks: usize,
pub lost_landmarks: Vec<u32>,
pub supplemental_landmarks: usize,
}Expand description
Result of a virtual routability check for one proposed delete batch.
A false admitted value leaves the graph untouched when used through
DiskANN::delete_batch_with_admission_control.
It is a signal to defer, split, or statically rebuild that batch.
Fields§
§admitted: bool§requested: usize§entry: Option<u32>§checked_landmarks: Vec<u32>§baseline_reachable_landmarks: usize§residual_reachable_landmarks: usize§lost_landmarks: Vec<u32>§supplemental_landmarks: usizeNumber of anchors drawn from a fresh small sample because the retained
pool had fewer than landmark_count live, non-deleted members.
Trait Implementations§
Source§impl Clone for RoutabilityAdmissionReport
impl Clone for RoutabilityAdmissionReport
Source§impl Debug for RoutabilityAdmissionReport
impl Debug for RoutabilityAdmissionReport
Auto Trait Implementations§
impl Forget for RoutabilityAdmissionReport
impl Freeze for RoutabilityAdmissionReport
impl Move for RoutabilityAdmissionReport
impl RefUnwindSafe for RoutabilityAdmissionReport
impl Send for RoutabilityAdmissionReportwhere
RawVecInner: Send,
impl Sync for RoutabilityAdmissionReportwhere
RawVecInner: Sync,
impl Unpin for RoutabilityAdmissionReport
impl UnsafeUnpin for RoutabilityAdmissionReport
impl UnwindSafe for RoutabilityAdmissionReportwhere
RawVecInner: 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more