pub struct CodecEncodeResult {
pub source_symbols: Vec<(u32, Vec<u8>)>,
pub repair_symbols: Vec<(u32, Vec<u8>)>,
pub k_source: u32,
}Expand description
Raw encode result from the codec.
Fields§
§source_symbols: Vec<(u32, Vec<u8>)>Source symbols: (esi, data).
repair_symbols: Vec<(u32, Vec<u8>)>Repair symbols: (esi, data).
k_source: u32Number of source symbols K.
Trait Implementations§
Source§impl Clone for CodecEncodeResult
impl Clone for CodecEncodeResult
Source§fn clone(&self) -> CodecEncodeResult
fn clone(&self) -> CodecEncodeResult
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 moreAuto Trait Implementations§
impl Freeze for CodecEncodeResult
impl RefUnwindSafe for CodecEncodeResult
impl Send for CodecEncodeResult
impl Sync for CodecEncodeResult
impl Unpin for CodecEncodeResult
impl UnsafeUnpin for CodecEncodeResult
impl UnwindSafe for CodecEncodeResult
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: 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> 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).