pub struct FamilyPhase {
pub name: String,
pub tables: Vec<String>,
pub budget_bytes: u64,
}Expand description
A correlated family of tables generated together under a shared, exact memory budget.
The budget is fixed at compile time; at run time a
crate::generate::output::FamilyBuffer keeps the family’s buffered rows in
memory only while under budget_bytes and spills to a protected spool the
moment a push would cross it, so a family never retains every child row in an
unbounded Vec.
Fields§
§name: StringA stable name for the family (typically its root parent table).
tables: Vec<String>The member tables, in dependency order (parents before children).
budget_bytes: u64The exact in-memory byte budget for the family’s buffered rows.
Trait Implementations§
Source§impl Clone for FamilyPhase
impl Clone for FamilyPhase
Source§fn clone(&self) -> FamilyPhase
fn clone(&self) -> FamilyPhase
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 moreSource§impl Debug for FamilyPhase
impl Debug for FamilyPhase
impl Eq for FamilyPhase
Source§impl PartialEq for FamilyPhase
impl PartialEq for FamilyPhase
impl StructuralPartialEq for FamilyPhase
Auto Trait Implementations§
impl Freeze for FamilyPhase
impl RefUnwindSafe for FamilyPhase
impl Send for FamilyPhase
impl Sync for FamilyPhase
impl Unpin for FamilyPhase
impl UnsafeUnpin for FamilyPhase
impl UnwindSafe for FamilyPhase
Blanket Implementations§
impl<T> Allocation for T
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.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