pub struct Loaded {
pub path: PathBuf,
pub instance_id: u64,
pub host: String,
pub schemas: Vec<OwnedSchema>,
pub views: Vec<String>,
pub intern: HashMap<u32, String>,
pub records: Vec<Rec>,
}Expand description
A single decoded instance: its identity, the (shared) registry, its intern table, and its recovered records. A dump file decodes to one of these per instance it contains.
Fields§
§path: PathBufWhere it was read from (for error messages).
instance_id: u64The producing process’s id; (instance_id, span_id) keys spans across merged dumps.
host: StringHost label from this instance’s metadata (empty if unset).
schemas: Vec<OwnedSchema>The dump’s schema registry, sorted by qualified_name for deterministic output. Shared by
every instance in the same file (the registry is unified, not per-instance).
views: Vec<String>The dump’s registered query-DDL view sets (verbatim text), in file order. Dump-level like the registry — every instance decoded from one file carries the same list (convert dedups by content across files).
intern: HashMap<u32, String>This instance’s interned id → string for Interned fields.
records: Vec<Rec>Every valid record from this instance’s shards, in global (ts_nanos, shard_id, local_seq)
order.
Auto Trait Implementations§
impl Freeze for Loaded
impl RefUnwindSafe for Loaded
impl Send for Loaded
impl Sync for Loaded
impl Unpin for Loaded
impl UnsafeUnpin for Loaded
impl UnwindSafe for Loaded
Blanket Implementations§
impl<T> Allocation for T
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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>
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>
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