Struct etcd_client::ResponseHeader [−][src]
#[repr(transparent)]pub struct ResponseHeader(_);
General etcd
response header.
Implementations
impl ResponseHeader
[src]
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 Clone for ResponseHeader
[src]fn clone(&self) -> ResponseHeader
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
Auto Trait Implementations
impl RefUnwindSafe for ResponseHeader
impl RefUnwindSafe for ResponseHeader
impl Send for ResponseHeader
impl Send for ResponseHeader
impl Sync for ResponseHeader
impl Sync for ResponseHeader
impl Unpin for ResponseHeader
impl Unpin for ResponseHeader
impl UnwindSafe for ResponseHeader
impl UnwindSafe for ResponseHeader
Blanket Implementations
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> IntoRequest<T> for T
[src]
impl<T> IntoRequest<T> for T
[src]pub fn into_request(self) -> Request<T>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
pub fn vzip(self) -> V
impl<T> WithSubscriber for T
[src]
impl<T> WithSubscriber for T
[src]pub fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
[src]
S: Into<Dispatch>,