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

ServiceNotFound

The requested service was not found.

MethodNotFound

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

0: ValidationErrors
InternalError(Box<dyn Error + Sync + Send>)

Something else went wrong.

Tuple Fields of InternalError

0: Box<dyn Error + Sync + Send>
Shutdown

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

Convert error to Bytes

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

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