pub struct AdapterIngest {
pub adapter: String,
pub root: Option<PathBuf>,
pub files_read: usize,
pub files_seen: usize,
pub new_events: u64,
pub new_prompts: u64,
pub skipped_unparseable: u64,
pub unreadable_files: u64,
pub duplicates: u64,
}Expand description
What one adapter did, in the shape warden ingest prints.
Fields§
§adapter: String§root: Option<PathBuf>Source root, when one could be resolved.
files_read: usizeFiles that had unread bytes and were opened this run.
files_seen: usizeFiles present under the root, whether or not they were opened.
new_events: u64§new_prompts: u64§skipped_unparseable: u64Lines the adapter could not parse. Never fatal.
unreadable_files: u64Source files skipped because their metadata could not be read (the file vanished mid-run, or its mtime is unusable). Counted and reported rather than passed over in silence: the next run will retry them.
duplicates: u64Lines replayed after an interruption that were already stored.
Trait Implementations§
Source§impl Clone for AdapterIngest
impl Clone for AdapterIngest
Source§fn clone(&self) -> AdapterIngest
fn clone(&self) -> AdapterIngest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AdapterIngest
impl Debug for AdapterIngest
Source§impl Default for AdapterIngest
impl Default for AdapterIngest
Source§fn default() -> AdapterIngest
fn default() -> AdapterIngest
Returns the “default value” for a type. Read more
impl Eq for AdapterIngest
Source§impl PartialEq for AdapterIngest
impl PartialEq for AdapterIngest
impl StructuralPartialEq for AdapterIngest
Auto Trait Implementations§
impl Freeze for AdapterIngest
impl RefUnwindSafe for AdapterIngest
impl Send for AdapterIngest
impl Sync for AdapterIngest
impl Unpin for AdapterIngest
impl UnsafeUnpin for AdapterIngest
impl UnwindSafe for AdapterIngest
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.