pub struct TelemetryDecodeCapacityEvidence {
pub schema_version: u32,
pub decoded_slot_count: usize,
pub slot_output_capacity: usize,
pub decoded_window_count: usize,
pub window_output_capacity: usize,
pub window_opcode_scratch_capacity: usize,
pub window_accumulator_scratch_capacity: usize,
pub uses_caller_owned_scratch: bool,
}Expand description
Evidence that a telemetry decode used caller-owned output and scratch buffers.
Fields§
§schema_version: u32Evidence schema version.
decoded_slot_count: usizeNumber of decoded ring slots in the output snapshot.
slot_output_capacity: usizeCapacity of the caller-owned ring-slot output buffer.
decoded_window_count: usizeNumber of decoded route-window rows in the output snapshot.
window_output_capacity: usizeCapacity of the caller-owned route-window output buffer.
window_opcode_scratch_capacity: usizeCapacity retained for sorted window-opcode scratch.
window_accumulator_scratch_capacity: usizeCapacity retained for route-window accumulator scratch.
uses_caller_owned_scratch: boolTrue when evidence was produced from caller-owned scratch.
Implementations§
Source§impl TelemetryDecodeCapacityEvidence
impl TelemetryDecodeCapacityEvidence
Sourcepub fn is_complete(self) -> bool
pub fn is_complete(self) -> bool
Return true when output and scratch capacities cover the decoded rows.
Trait Implementations§
Source§impl Clone for TelemetryDecodeCapacityEvidence
impl Clone for TelemetryDecodeCapacityEvidence
Source§fn clone(&self) -> TelemetryDecodeCapacityEvidence
fn clone(&self) -> TelemetryDecodeCapacityEvidence
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 moreimpl Copy for TelemetryDecodeCapacityEvidence
impl Eq for TelemetryDecodeCapacityEvidence
Source§impl PartialEq for TelemetryDecodeCapacityEvidence
impl PartialEq for TelemetryDecodeCapacityEvidence
Source§fn eq(&self, other: &TelemetryDecodeCapacityEvidence) -> bool
fn eq(&self, other: &TelemetryDecodeCapacityEvidence) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TelemetryDecodeCapacityEvidence
Auto Trait Implementations§
impl Freeze for TelemetryDecodeCapacityEvidence
impl RefUnwindSafe for TelemetryDecodeCapacityEvidence
impl Send for TelemetryDecodeCapacityEvidence
impl Sync for TelemetryDecodeCapacityEvidence
impl Unpin for TelemetryDecodeCapacityEvidence
impl UnsafeUnpin for TelemetryDecodeCapacityEvidence
impl UnwindSafe for TelemetryDecodeCapacityEvidence
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.