Struct etcd_client::WatchClient [−][src]
#[repr(transparent)]pub struct WatchClient { /* fields omitted */ }
Client for watch operations.
Implementations
impl WatchClient[src]
impl WatchClient[src]pub async fn watch(
&mut self,
key: impl Into<Vec<u8>>,
options: Option<WatchOptions>
) -> Result<(Watcher, WatchStream), Error>[src]
&mut self,
key: impl Into<Vec<u8>>,
options: Option<WatchOptions>
) -> Result<(Watcher, WatchStream), Error>
Watches for events happening or that have happened. Both input and output are streams; the input stream is for creating and canceling watchers and the output stream sends events. One watch RPC can watch on multiple key ranges, streaming events for several watches at once. The entire event history can be watched starting from the last compaction revision.
Trait Implementations
impl Clone for WatchClient[src]
impl Clone for WatchClient[src]fn clone(&self) -> WatchClient[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
Auto Trait Implementations
impl !RefUnwindSafe for WatchClient
impl !RefUnwindSafe for WatchClientimpl Send for WatchClient
impl Send for WatchClientimpl Sync for WatchClient
impl Sync for WatchClientimpl Unpin for WatchClient
impl Unpin for WatchClientimpl !UnwindSafe for WatchClient
impl !UnwindSafe for WatchClientBlanket 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>,