pub enum RequestError<C> {
Terminate(C),
Respond(PartialErrorResponse),
}
Variants§
Terminate(C)
Respond(PartialErrorResponse)
Trait Implementations§
source§impl<C> From<PartialErrorResponse> for RequestError<C>
impl<C> From<PartialErrorResponse> for RequestError<C>
source§fn from(error: PartialErrorResponse) -> Self
fn from(error: PartialErrorResponse) -> Self
Converts to this type from the input type.