Struct reed_solomon_16::EncoderResult[][src]

pub struct EncoderResult<'a> { /* fields omitted */ }
Expand description

Result of encoding. Contains the generated recovery shards.

This struct is created by ReedSolomonEncoder::encode and RateEncoder::encode.

Implementations

Returns recovery shard with given index or None if index >= recovery_count.

Recovery shards have indexes 0..recovery_count and these same indexes must be used when decoding.

Returns iterator over all recovery shards ordered by their indexes.

Recovery shards have indexes 0..recovery_count and these same indexes must be used when decoding.

Trait Implementations

Executes the destructor for this type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.