[][src]Struct etcd_client::ResponseHeader

#[repr(transparent)]pub struct ResponseHeader(_);

General etcd response header.

Implementations

impl ResponseHeader[src]

pub const fn cluster_id(&self) -> u64[src]

The ID of the cluster which sent the response.

pub const fn member_id(&self) -> u64[src]

The ID of the member which sent the response.

pub const fn revision(&self) -> i64[src]

The key-value store revision when the request was applied. For watch progress responses, the header.revision() indicates progress. All future events received in this stream are guaranteed to have a higher revision number than the header.revision() number.

pub const fn raft_term(&self) -> u64[src]

The raft term when the request was applied.

Trait Implementations

impl Clone for ResponseHeader[src]

impl Debug for ResponseHeader[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> Instrument for T[src]

impl<T> Instrument for T[src]

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

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

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

type Owned = T

The resulting type after obtaining ownership.

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>, 

impl<T> WithSubscriber for T[src]