pub struct Par2MemoryPlan {Show 14 fields
pub source_metadata_bytes: usize,
pub source_hash_workspace_bytes: usize,
pub critical_packet_bytes: usize,
pub main_file_id_workspace_bytes: usize,
pub packet_build_workspace_bytes: usize,
pub transaction_workspace_bytes: usize,
pub validation_workspace_bytes: usize,
pub processing_buffer_limit_bytes: usize,
pub processing_peak_bytes: usize,
pub total_creation_peak_bytes: usize,
pub factor_workspace_bytes: usize,
pub jit_workspace_bytes: usize,
pub stripe_buffer_bytes: usize,
pub controller_overhead_blocks: usize,
}Expand description
The memory quantities used by one creation pass.
Fields§
§source_metadata_bytes: usizeRetained source descriptions, hashes, names, and per-slice checksums. This does not include source file contents.
source_hash_workspace_bytes: usizeTemporary hashing buffers and source-index collections.
critical_packet_bytes: usizeCritical packet bytes retained while staged outputs are assembled.
main_file_id_workspace_bytes: usizeTemporary Main packet file-ID body retained while critical packets are built.
packet_build_workspace_bytes: usizeLargest temporary padded FileDesc or IFSC body, including its Vec controller. Main packet body workspace is accounted separately above.
transaction_workspace_bytes: usizeTransaction and provider bookkeeping retained beside critical packets.
validation_workspace_bytes: usizeScanner, parsed-packet, and file-backed recovery-hash workspace used while one staged volume is validated.
processing_buffer_limit_bytes: usizeProcessing-buffer budget passed to the forward encoder.
processing_peak_bytes: usizeConservative peak working-set bound for the forward processing buffers.
total_creation_peak_bytes: usizeConservative peak bound for the complete creation operation.
factor_workspace_bytes: usizeSource constants and one active kernel’s factor preparation storage. Each accumulation band holds its own ~2 KiB of transient kernel temporaries; those are deliberately excluded so this value never scales with recovery-row or thread count.
jit_workspace_bytes: usizePeak executable-code and JIT build bookkeeping storage.
stripe_buffer_bytes: usizeStripe staging, transfer, and recovery-output buffers.
controller_overhead_blocks: usizeController buffer units used by the creation memory calculation.
Trait Implementations§
Source§impl Clone for Par2MemoryPlan
impl Clone for Par2MemoryPlan
Source§fn clone(&self) -> Par2MemoryPlan
fn clone(&self) -> Par2MemoryPlan
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for Par2MemoryPlan
Source§impl Debug for Par2MemoryPlan
impl Debug for Par2MemoryPlan
impl Eq for Par2MemoryPlan
Source§impl PartialEq for Par2MemoryPlan
impl PartialEq for Par2MemoryPlan
impl StructuralPartialEq for Par2MemoryPlan
Auto Trait Implementations§
impl Freeze for Par2MemoryPlan
impl RefUnwindSafe for Par2MemoryPlan
impl Send for Par2MemoryPlan
impl Sync for Par2MemoryPlan
impl Unpin for Par2MemoryPlan
impl UnsafeUnpin for Par2MemoryPlan
impl UnwindSafe for Par2MemoryPlan
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
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> ⓘ
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> ⓘ
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