pub enum ReaderMode {
Full,
Partial,
}Expand description
How a HoronReader materializes the file.
Variants§
Full
Decode the whole snapshot into memory (0.9.0 behaviour): full read surface including structural hyperbolic queries.
Partial
Memory-map the snapshot; RAM holds only a key→offset index plus
writes-since-snapshot. N processes share one physical copy via the
page cache. Implies lazy geometry: structural hyperbolic queries
(nearest, neighbors) are unavailable; semantic queries are exact
by default. Requires an uncompressed, non-GACL file — the same
constraints as the writer’s partial_reads.
Trait Implementations§
Source§impl Clone for ReaderMode
impl Clone for ReaderMode
Source§fn clone(&self) -> ReaderMode
fn clone(&self) -> ReaderMode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ReaderMode
Source§impl Debug for ReaderMode
impl Debug for ReaderMode
impl Eq for ReaderMode
Source§impl PartialEq for ReaderMode
impl PartialEq for ReaderMode
impl StructuralPartialEq for ReaderMode
Auto Trait Implementations§
impl Freeze for ReaderMode
impl RefUnwindSafe for ReaderMode
impl Send for ReaderMode
impl Sync for ReaderMode
impl Unpin for ReaderMode
impl UnsafeUnpin for ReaderMode
impl UnwindSafe for ReaderMode
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