pub struct CodingGroup {
pub group_id: ObjectId,
pub member_ids: Vec<ObjectId>,
pub total_len: u64,
pub member_lens: Vec<u64>,
pub k_source: u32,
pub symbol_size: u32,
pub repair_symbol_count: u32,
}Expand description
Coding-group metadata used by sender and receiver.
Fields§
§group_id: ObjectIdDeterministic content-addressed group id.
member_ids: Vec<ObjectId>Member object ids in canonical concatenation order.
total_len: u64Total concatenated canonical bytes before padding.
member_lens: Vec<u64>Individual member byte lengths (for demultiplexing).
k_source: u32Number of source symbols in the grouped stream.
symbol_size: u32Symbol size used for the group.
repair_symbol_count: u32Number of repair symbols generated for this group.
Trait Implementations§
Source§impl Clone for CodingGroup
impl Clone for CodingGroup
Source§fn clone(&self) -> CodingGroup
fn clone(&self) -> CodingGroup
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 CodingGroup
impl Debug for CodingGroup
Source§impl PartialEq for CodingGroup
impl PartialEq for CodingGroup
impl Eq for CodingGroup
impl StructuralPartialEq for CodingGroup
Auto Trait Implementations§
impl Freeze for CodingGroup
impl RefUnwindSafe for CodingGroup
impl Send for CodingGroup
impl Sync for CodingGroup
impl Unpin for CodingGroup
impl UnsafeUnpin for CodingGroup
impl UnwindSafe for CodingGroup
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<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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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).