pub struct EncodingConfig {
pub repair_overhead: f64,
pub max_block_size: usize,
pub symbol_size: u16,
pub encoding_parallelism: usize,
pub decoding_parallelism: usize,
}Expand description
Encoding configuration.
Fields§
§repair_overhead: f64Repair symbol overhead (e.g., 1.05 = 5% extra symbols).
max_block_size: usizeMaximum source block size (bytes).
symbol_size: u16Symbol size (bytes, typically 64-1024).
encoding_parallelism: usizeParallelism for encoding.
decoding_parallelism: usizeParallelism for decoding.
Trait Implementations§
Source§impl Clone for EncodingConfig
impl Clone for EncodingConfig
Source§fn clone(&self) -> EncodingConfig
fn clone(&self) -> EncodingConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 EncodingConfig
impl Debug for EncodingConfig
Auto Trait Implementations§
impl Freeze for EncodingConfig
impl RefUnwindSafe for EncodingConfig
impl Send for EncodingConfig
impl Sync for EncodingConfig
impl Unpin for EncodingConfig
impl UnsafeUnpin for EncodingConfig
impl UnwindSafe for EncodingConfig
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, _span: NoopSpan) -> Self
fn instrument(self, _span: NoopSpan) -> Self
Instruments this future with a span (no-op when disabled).
Source§fn in_current_span(self) -> Self
fn in_current_span(self) -> Self
Instruments this future with the current span (no-op when disabled).