pub struct PlotAudit<Plot>(/* private fields */)
where
Plot: ReadAtSync;Expand description
Plot auditing implementation
Implementations§
Source§impl<'a, Plot> PlotAudit<Plot>where
Plot: ReadAtSync + 'a,
impl<'a, Plot> PlotAudit<Plot>where
Plot: ReadAtSync + 'a,
Sourcepub fn audit<'b, PosTable>(
&'a self,
options: PlotAuditOptions<'a, 'b, PosTable>,
) -> Result<Vec<(SectorIndex, impl ProvableSolutions<Item = Result<Solution, ProvingError>> + use<'a, Plot, PosTable> + 'a)>, AuditingError>where
PosTable: Table,
pub fn audit<'b, PosTable>(
&'a self,
options: PlotAuditOptions<'a, 'b, PosTable>,
) -> Result<Vec<(SectorIndex, impl ProvableSolutions<Item = Result<Solution, ProvingError>> + use<'a, Plot, PosTable> + 'a)>, AuditingError>where
PosTable: Table,
Audit this plot
Trait Implementations§
Auto Trait Implementations§
impl<Plot> Freeze for PlotAudit<Plot>where
Plot: Freeze,
impl<Plot> RefUnwindSafe for PlotAudit<Plot>where
Plot: RefUnwindSafe,
impl<Plot> Send for PlotAudit<Plot>
impl<Plot> Sync for PlotAudit<Plot>
impl<Plot> Unpin for PlotAudit<Plot>where
Plot: Unpin,
impl<Plot> UnwindSafe for PlotAudit<Plot>where
Plot: UnwindSafe,
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<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