pub struct QueryStreamMetrics {
pub row_count: u64,
pub chunk_count: u64,
pub total_bytes: u64,
}Expand description
QueryStream 执行过程中的共享统计信息。 Shared metrics produced during QueryStream execution.
Fields§
§row_count: u64返回行数。 Number of rows returned.
chunk_count: u64chunk 数量。 Number of emitted chunks.
total_bytes: u64总字节数。 Total emitted byte size.
Trait Implementations§
Source§impl Clone for QueryStreamMetrics
impl Clone for QueryStreamMetrics
Source§fn clone(&self) -> QueryStreamMetrics
fn clone(&self) -> QueryStreamMetrics
Returns a duplicate of the value. Read more
1.0.0 · 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 QueryStreamMetrics
impl Debug for QueryStreamMetrics
Source§impl PartialEq for QueryStreamMetrics
impl PartialEq for QueryStreamMetrics
impl Copy for QueryStreamMetrics
impl Eq for QueryStreamMetrics
impl StructuralPartialEq for QueryStreamMetrics
Auto Trait Implementations§
impl Freeze for QueryStreamMetrics
impl RefUnwindSafe for QueryStreamMetrics
impl Send for QueryStreamMetrics
impl Sync for QueryStreamMetrics
impl Unpin for QueryStreamMetrics
impl UnsafeUnpin for QueryStreamMetrics
impl UnwindSafe for QueryStreamMetrics
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request