Struct Snapshot Lease
Generated from cargo doc --no-deps -p nemo-relay-builtins -p nemo-relay-diagnostics -p nemo-relay-logging -p nemo-relay-plugin-host -p nemo-relay-codecs -p nemo-relay -p nemo-relay-runtime -p nemo-relay-model-pricing -p nemo-relay-resource-metrics -p nemo-relay-observability -p nemo-relay-adaptive -p nemo-relay-pii-redaction -p nemo-relay-ffi -p nemo-relay-types -p nemo-relay-plugin -p nemo-relay-worker-proto -p nemo-relay-worker.
A bounded serialized page. Dropping the lease returns its workspace permit; it owns copied bytes and never pins retained history or a component lease.
Implementations
impl SnapshotLease
Referenced types: SnapshotLease
as_bytes
Referenced types: u8
Borrow the canonical JSON response while retaining its workspace permit.
to_snapshot
Referenced types: Result, DiagnosticSnapshot, Error
Decode an independently owned snapshot. These new allocations belong to the caller and are outside the diagnostic service’s storage guarantee.
impl SnapshotLease
Referenced types: SnapshotLease
events
Referenced types: ExactSizeIterator
Traverse only rows emitted on this page without decoding JSON or allocating. Views borrow copied workspace data; they cannot pin live history.
components
Referenced types: ExactSizeIterator
Traverse the returned component prefix without allocating an owned DTO graph.
Trait Implementations
impl Debug for SnapshotLease
Referenced types: Debug, SnapshotLease
fmt
Referenced types: fmt, Formatter, Result, (), Error
impl Drop for SnapshotLease
Referenced types: Drop, SnapshotLease
drop
Referenced types: drop