pub struct CompressionContext {
pub splitters: Arc<Mutex<AHashSet<u64>>>,
pub bloom_splitters: Arc<Mutex<BloomFilter>>,
pub buffered_segments: Arc<Mutex<BufferedSegments>>,
pub kmer_length: usize,
pub adaptive_mode: bool,
pub map_segments: Arc<Mutex<AHashMap<(u64, u64), u32>>>,
pub map_segments_terminators: Arc<Mutex<AHashMap<u64, Vec<u64>>>>,
pub concatenated_genomes: bool,
}Expand description
Shared state for compression (passed from worker threads)
Fields§
§splitters: Arc<Mutex<AHashSet<u64>>>§bloom_splitters: Arc<Mutex<BloomFilter>>§buffered_segments: Arc<Mutex<BufferedSegments>>§kmer_length: usize§adaptive_mode: bool§map_segments: Arc<Mutex<AHashMap<(u64, u64), u32>>>§map_segments_terminators: Arc<Mutex<AHashMap<u64, Vec<u64>>>>§concatenated_genomes: boolAuto Trait Implementations§
impl Freeze for CompressionContext
impl RefUnwindSafe for CompressionContext
impl Send for CompressionContext
impl Sync for CompressionContext
impl Unpin for CompressionContext
impl UnwindSafe for CompressionContext
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> 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