[][src]Enum humblegen_rt::service_protocol::RuntimeError

pub enum RuntimeError {
    NoServiceMounted,
    ServiceMountsAmbiguous,
    NoRouteMountedInService {
        service: String,
    },
    RouteMountsAmbiguous {
        service: String,
    },
    RouteParamInvalid {
        param_name: String,
        parse_error: String,
    },
    QueryInvalid(String),
    PostBodyReadError(String),
    PostBodyInvalid(String),
    SerializeHandlerResponse(String),
    SerializeErrorResponse(String),
}

Responses generated by humblegen-rt for conditions that are outside of handler trait impl's realm of control.

Variants

NoServiceMounted
ServiceMountsAmbiguous
NoRouteMountedInService

Fields of NoRouteMountedInService

service: String
RouteMountsAmbiguous

Fields of RouteMountsAmbiguous

service: String
RouteParamInvalid

Fields of RouteParamInvalid

param_name: Stringparse_error: String
QueryInvalid(String)
PostBodyReadError(String)
PostBodyInvalid(String)
SerializeHandlerResponse(String)
SerializeErrorResponse(String)

Trait Implementations

impl Debug for RuntimeError[src]

impl<'de> Deserialize<'de> for RuntimeError[src]

impl Serialize for RuntimeError[src]

impl ToErrorResponse for RuntimeError[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> Downcast for T where
    T: Any
[src]

impl<T> DowncastSync for T where
    T: Send + Sync + Any
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithSubscriber for T[src]