pub struct IngestSnapshot {Show 21 fields
pub phase: IngestPhase,
pub triples: u64,
pub source_bytes: u64,
pub bytes_read: u64,
pub interned_terms: u64,
pub lex_runs: u64,
pub quin_chunks: u64,
pub workers: u32,
pub rss_bytes: Option<u64>,
pub elapsed_ms: u64,
pub triples_per_sec: f64,
pub mb_per_sec: f64,
pub pct: f64,
pub eta_secs: Option<f64>,
pub message: String,
pub detail: Option<String>,
pub parse_ms: u64,
pub sort_ms: u64,
pub publish_ms: u64,
pub last_sort_path: Option<String>,
pub skip_target: u64,
}Fields§
§phase: IngestPhase§triples: u64§source_bytes: u64§bytes_read: u64§interned_terms: u64§lex_runs: u64§quin_chunks: u64§workers: u32§rss_bytes: Option<u64>§elapsed_ms: u64§triples_per_sec: f64§mb_per_sec: f64§pct: f64§eta_secs: Option<f64>§message: String§detail: Option<String>§parse_ms: u64Wall ms spent in parse (set at parse-finished).
sort_ms: u64Wall ms spent in GPU/CPU chunk sorts (sum).
publish_ms: u64Wall ms spent merging/publishing the volume.
last_sort_path: Option<String>Last chunk sort path (gpu / cpu), if any.
skip_target: u64Accepted triples already on disk (skip-N target). 0 if this is a fresh ingest.
Implementations§
Source§impl IngestSnapshot
impl IngestSnapshot
Sourcepub fn format_text(&self, verbose: u8) -> String
pub fn format_text(&self, verbose: u8) -> String
Render the snapshot as human-readable text at verbose level.
Sourcepub fn format_json(&self) -> String
pub fn format_json(&self) -> String
Render the snapshot as a JSON object.
Trait Implementations§
Source§impl Clone for IngestSnapshot
impl Clone for IngestSnapshot
Source§impl Debug for IngestSnapshot
impl Debug for IngestSnapshot
Source§impl<'de> Deserialize<'de> for IngestSnapshot
impl<'de> Deserialize<'de> for IngestSnapshot
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for IngestSnapshot
impl RefUnwindSafe for IngestSnapshot
impl Send for IngestSnapshot
impl Sync for IngestSnapshot
impl Unpin for IngestSnapshot
impl UnsafeUnpin for IngestSnapshot
impl UnwindSafe for IngestSnapshot
Blanket Implementations§
§impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
Aggregate shares in an MPC protocol.
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> 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