Enum webwire::service::consumer::ConsumerError [−][src]
pub enum ConsumerError {
ServiceNotFound,
MethodNotFound,
SerializerError(Error),
DeserializerError(Error),
ProviderError,
InvalidData(Bytes),
Broadcast,
Disconnected,
Transport(Box<dyn Error + Sync + Send>),
}
Expand description
Error returned by the Consumer::call
method
Variants
The requested service was not found.
The requested method was not found.
SerializerError(Error)
An error occured while serializing the request.
Tuple Fields of SerializerError
0: Error
DeserializerError(Error)
An error occured while deserializing the response.
Tuple Fields of DeserializerError
0: Error
The provider reported an internal error.
InvalidData(Bytes)
The data part of the message could not be understood.
Tuple Fields of InvalidData
0: Bytes
The request was sent to multiple recipients therefore fetching a result is not supported.
The remote side disconnected while waiting for a response
Transport specific error
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for ConsumerError
impl Send for ConsumerError
impl Sync for ConsumerError
impl Unpin for ConsumerError
impl !UnwindSafe for ConsumerError
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more