Enum webwire::service::provider::ProviderError [−][src]
pub enum ProviderError {
ServiceNotFound,
MethodNotFound,
DeserializerError(Error),
SerializerError(Error),
ValidationError(ValidationErrors),
InternalError(Box<dyn Error + Sync + Send>),
Shutdown,
}
Expand description
Error returned by the Provider::call
method
Variants
The requested service was not found.
The requested method was not found.
DeserializerError(Error)
An error occured while deserializing the request.
Tuple Fields of DeserializerError
0: Error
SerializerError(Error)
An error occured while serializing the response.
Tuple Fields of SerializerError
0: Error
ValidationError(ValidationErrors)
The request did not validate
Tuple Fields of ValidationError
Something else went wrong.
The server is being shut down and therefore request processing is impossible. This error rarely if ever happens and should not be generated by user code.
Implementations
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for ProviderError
impl Send for ProviderError
impl Sync for ProviderError
impl Unpin for ProviderError
impl !UnwindSafe for ProviderError
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