pub struct SectorRecordChunks {
pub extended_record: Box<ExtendedRecord>,
pub present: ShardsPresent<{ Record::NUM_CHUNKS }>,
}Expand description
Record chunks read from a sector.
Contents of chunks that are not present are unspecified.
Fields§
§extended_record: Box<ExtendedRecord>Source and parity chunks
present: ShardsPresent<{ Record::NUM_CHUNKS }>Which chunks are present
Trait Implementations§
Auto Trait Implementations§
impl Forget for SectorRecordChunks
impl Freeze for SectorRecordChunks
impl RefUnwindSafe for SectorRecordChunks
impl Send for SectorRecordChunks
impl Sync for SectorRecordChunks
impl Unpin for SectorRecordChunks
impl UnsafeUnpin for SectorRecordChunks
impl UnwindSafe for SectorRecordChunks
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
§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> ⓘ
Converts
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> ⓘ
Converts
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