pub enum ClientError {
CommandStreamError(CommandStreamError),
WatchStreamError(WatchStreamError),
StreamError(StreamError),
}Expand description
The errors that originates from the Client.
Variants§
CommandStreamError(CommandStreamError)
An error occured with the command stream
WatchStreamError(WatchStreamError)
An error occured with the watch stream
StreamError(StreamError)
An error occured in the clients stream
Trait Implementations§
Source§impl Debug for ClientError
impl Debug for ClientError
Source§impl From<CommandStreamError> for ClientError
impl From<CommandStreamError> for ClientError
Source§fn from(error: CommandStreamError) -> Self
fn from(error: CommandStreamError) -> Self
Converts to this type from the input type.
Source§impl From<StreamError> for ClientError
impl From<StreamError> for ClientError
Source§fn from(error: StreamError) -> Self
fn from(error: StreamError) -> Self
Converts to this type from the input type.
Source§impl From<WatchStreamError> for ClientError
impl From<WatchStreamError> for ClientError
Source§fn from(error: WatchStreamError) -> Self
fn from(error: WatchStreamError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for ClientError
impl !UnwindSafe for ClientError
impl Freeze for ClientError
impl Send for ClientError
impl Sync for ClientError
impl Unpin for ClientError
impl UnsafeUnpin for ClientError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request