pub struct TerminalFrame { /* private fields */ }Expand description
Final audited result facts.
Debug reports counts and outcome only. The source evidence names object
keys, namespaces, partitions, signer keys, and signatures, so it never
reaches a log line through this type.
Implementations§
Source§impl TerminalFrame
impl TerminalFrame
Sourcepub const fn new(
outcome: QueryOutcome,
duration: Duration,
rows: u64,
result_bytes: u64,
truncation: Truncation,
source: SourceEvidence,
) -> Self
pub const fn new( outcome: QueryOutcome, duration: Duration, rows: u64, result_bytes: u64, truncation: Truncation, source: SourceEvidence, ) -> Self
Records the exact durable completion facts returned by Query.
Sourcepub const fn outcome(&self) -> QueryOutcome
pub const fn outcome(&self) -> QueryOutcome
Returns the durable completion outcome.
Sourcepub const fn result_bytes(&self) -> u64
pub const fn result_bytes(&self) -> u64
Returns total opaque data bytes released across data frames.
Sourcepub const fn truncation(&self) -> Truncation
pub const fn truncation(&self) -> Truncation
Returns whether the result was complete or truncated.
Sourcepub const fn source(&self) -> &SourceEvidence
pub const fn source(&self) -> &SourceEvidence
Returns exact canonical source premises recorded by Query audit.
Trait Implementations§
Source§impl Clone for TerminalFrame
impl Clone for TerminalFrame
Source§fn clone(&self) -> TerminalFrame
fn clone(&self) -> TerminalFrame
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 TerminalFrame
impl Debug for TerminalFrame
impl Eq for TerminalFrame
Source§impl PartialEq for TerminalFrame
impl PartialEq for TerminalFrame
impl StructuralPartialEq for TerminalFrame
Auto Trait Implementations§
impl Freeze for TerminalFrame
impl RefUnwindSafe for TerminalFrame
impl Send for TerminalFrame
impl Sync for TerminalFrame
impl Unpin for TerminalFrame
impl UnsafeUnpin for TerminalFrame
impl UnwindSafe for TerminalFrame
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