pub struct PlotAuditOptions<'a, 'b, PosTable>where
PosTable: Table,{
pub public_key_hash: &'a Blake3Hash,
pub slot_info: SlotInfo,
pub sectors_metadata: &'a [SectorMetadataChecksummed],
pub erasure_coding: &'a ErasureCoding,
pub sectors_being_modified: &'b HashSet<SectorIndex>,
pub table_generator: &'a PosTable::Generator,
}Expand description
Plot audit options
Fields§
§public_key_hash: &'a Blake3HashPublic key of the farm
slot_info: SlotInfoSlot info for the audit
sectors_metadata: &'a [SectorMetadataChecksummed]Metadata of all sectors plotted so far
erasure_coding: &'a ErasureCodingErasure coding instance
sectors_being_modified: &'b HashSet<SectorIndex>Optional sector that is currently being modified (for example replotted) and should not be audited
table_generator: &'a PosTable::GeneratorProof of space table generator
Trait Implementations§
Source§impl<PosTable> Clone for PlotAuditOptions<'_, '_, PosTable>where
PosTable: Table,
impl<PosTable> Clone for PlotAuditOptions<'_, '_, PosTable>where
PosTable: Table,
Source§impl<'a, 'b, PosTable> Debug for PlotAuditOptions<'a, 'b, PosTable>
impl<'a, 'b, PosTable> Debug for PlotAuditOptions<'a, 'b, PosTable>
impl<PosTable> Copy for PlotAuditOptions<'_, '_, PosTable>where
PosTable: Table,
Auto Trait Implementations§
impl<'a, 'b, PosTable> Freeze for PlotAuditOptions<'a, 'b, PosTable>
impl<'a, 'b, PosTable> RefUnwindSafe for PlotAuditOptions<'a, 'b, PosTable>
impl<'a, 'b, PosTable> Send for PlotAuditOptions<'a, 'b, PosTable>
impl<'a, 'b, PosTable> Sync for PlotAuditOptions<'a, 'b, PosTable>
impl<'a, 'b, PosTable> Unpin for PlotAuditOptions<'a, 'b, PosTable>
impl<'a, 'b, PosTable> UnwindSafe for PlotAuditOptions<'a, 'b, PosTable>
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,
§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