pub(crate) struct InitScanPhase {
pub(crate) status: InitPhaseStatus,
pub(crate) requested: bool,
pub(crate) force_rescan: bool,
pub(crate) report: Option<ScanReport>,
pub(crate) error: Option<String>,
}Expand description
Scan/index phase result for init.
Fields§
§status: InitPhaseStatusScan phase status.
requested: boolWhether scan was requested by this run.
force_rescan: boolWhether force-rescan was requested.
report: Option<ScanReport>Scan report when the scan ran.
error: Option<String>Error text when the scan/index phase failed.
Trait Implementations§
Source§impl Debug for InitScanPhase
impl Debug for InitScanPhase
Auto Trait Implementations§
impl Freeze for InitScanPhase
impl RefUnwindSafe for InitScanPhase
impl Send for InitScanPhase
impl Sync for InitScanPhase
impl Unpin for InitScanPhase
impl UnwindSafe for InitScanPhase
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