Enum etcd_client::Error [−][src]
pub enum Error {
InvalidArgs(String),
InvalidUri(InvalidUri),
IoError(Error),
TransportError(Error),
GRpcStatus(Status),
WatchError(String),
Utf8Error(Utf8Error),
LeaseKeepAliveError(String),
ElectError(String),
InvalidMetadataValue(InvalidMetadataValue),
}The error type for etcd client.
Variants
InvalidArgs(String)Invalid arguments
InvalidUri(InvalidUri)Invalid URI
IoError(Error)IO error
TransportError(Error)Transport error
GRpcStatus(Status)gRPC status
WatchError(String)Watch error
Utf8Error(Utf8Error)Utf8Error
LeaseKeepAliveError(String)Lease error
ElectError(String)Election error
InvalidMetadataValue(InvalidMetadataValue)Invalid metadata value
Trait Implementations
impl From<InvalidMetadataValue> for Error[src]
impl From<InvalidMetadataValue> for Error[src]fn from(e: InvalidMetadataValue) -> Self[src]
impl From<InvalidUri> for Error[src]
impl From<InvalidUri> for Error[src]fn from(e: InvalidUri) -> Self[src]
Auto Trait Implementations
impl !RefUnwindSafe for Error
impl !RefUnwindSafe for Errorimpl !UnwindSafe for Error
impl !UnwindSafe for ErrorBlanket 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>,