[][src]Struct hdbconnect::ServerUsage

pub struct ServerUsage {
    pub proc_time: Duration,
    pub accum_proc_time: Duration,
    pub server_memory_usage: u64,
    // some fields omitted
}

Describes the server-side resource consumption.

This object can be retrieved from Connection, PreparedStatement, ResultSet, BLob, CLob, and NCLob.

Example

A ResultSet may cause additional roundtrips while its Rows are iterated over, because not all rows might be transferred and missing rows might need to be fetched. These fetches change the values in the ServerUsage both of the ResultSet and of the Connection with which the ResultSet was obtained.

Fields

proc_time: Duration

The server-side processing time that was consumed by the last server-call that was triggered from the parent object.

accum_proc_time: Duration

The accumulated server-side processing time that was consumed by all server-calls that were triggered from the parent object.

server_memory_usage: u64

The server-side memory that was consumed by the last server-call that was triggered from the parent object.

Trait Implementations

impl Clone for ServerUsage[src]

impl Copy for ServerUsage[src]

impl Debug for ServerUsage[src]

impl Default for ServerUsage[src]

impl Display for ServerUsage[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,