pub struct EncodeSectorOptions<'a, RE>where
RE: RecordsEncoder,{
pub sector_index: SectorIndex,
pub records_encoder: &'a mut RE,
pub abort_early: &'a AtomicBool,
}Expand description
Options for encoding a sector
Fields§
§sector_index: SectorIndexSector index
records_encoder: &'a mut RERecords encoding instance
abort_early: &'a AtomicBoolWhether encoding should be aborted early
Trait Implementations§
Auto Trait Implementations§
impl<'a, RE> !UnwindSafe for EncodeSectorOptions<'a, RE>
impl<'a, RE> Forget for EncodeSectorOptions<'a, RE>
impl<'a, RE> Freeze for EncodeSectorOptions<'a, RE>
impl<'a, RE> Move for EncodeSectorOptions<'a, RE>
impl<'a, RE> RefUnwindSafe for EncodeSectorOptions<'a, RE>
impl<'a, RE> Send for EncodeSectorOptions<'a, RE>
impl<'a, RE> Sync for EncodeSectorOptions<'a, RE>
impl<'a, RE> Unpin for EncodeSectorOptions<'a, RE>
impl<'a, RE> UnsafeUnpin for EncodeSectorOptions<'a, RE>
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