pub enum UniResponse<T100, T101, T102, T200, T201, T202, T203, T204, T205, T206, T207, T208, T226, T300, T301, T302, T303, T304, T305, T307, T308, T400, T401, T402, T403, T404, T405, T406, T407, T408, T409, T410, T411, T412, T413, T414, T415, T416, T417, T418, T421, T422, T423, T424, T426, T428, T429, T431, T451, T500, T501, T502, T503, T504, T505, T506, T507, T508, T510, T511> {
Show 60 variants T100(T100), T101(T101), T102(T102), T200(T200), T201(T201), T202(T202), T203(T203), T204(T204), T205(T205), T206(T206), T207(T207), T208(T208), T226(T226), T300(T300), T301(T301), T302(T302), T303(T303), T304(T304), T305(T305), T307(T307), T308(T308), T400(T400), T401(T401), T402(T402), T403(T403), T404(T404), T405(T405), T406(T406), T407(T407), T408(T408), T409(T409), T410(T410), T411(T411), T412(T412), T413(T413), T414(T414), T415(T415), T416(T416), T417(T417), T418(T418), T421(T421), T422(T422), T423(T423), T424(T424), T426(T426), T428(T428), T429(T429), T431(T431), T451(T451), T500(T500), T501(T501), T502(T502), T503(T503), T504(T504), T505(T505), T506(T506), T507(T507), T508(T508), T510(T510), T511(T511),
}

Variants

T100(T100)

T101(T101)

T102(T102)

T200(T200)

T201(T201)

T202(T202)

T203(T203)

T204(T204)

T205(T205)

T206(T206)

T207(T207)

T208(T208)

T226(T226)

T300(T300)

T301(T301)

T302(T302)

T303(T303)

T304(T304)

T305(T305)

T307(T307)

T308(T308)

T400(T400)

T401(T401)

T402(T402)

T403(T403)

T404(T404)

T405(T405)

T406(T406)

T407(T407)

T408(T408)

T409(T409)

T410(T410)

T411(T411)

T412(T412)

T413(T413)

T414(T414)

T415(T415)

T416(T416)

T417(T417)

T418(T418)

T421(T421)

T422(T422)

T423(T423)

T424(T424)

T426(T426)

T428(T428)

T429(T429)

T431(T431)

T451(T451)

T500(T500)

T501(T501)

T502(T502)

T503(T503)

T504(T504)

T505(T505)

T506(T506)

T507(T507)

T508(T508)

T510(T510)

T511(T511)

Trait Implementations

If true, it means that the response object has a custom bad request handler. Read more

Gets metadata of this response.

Register the schema contained in this response object to the registry.

Convert poem::Error to this response object.

Consume itself and return Response.

Wrap an impl IntoResponse to add a header. Read more

Wrap an impl IntoResponse to with a new content type. Read more

Wrap an impl IntoResponse to set a status code. Read more

Wrap an impl IntoResponse to set a body. 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

Returns the argument unchanged.

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

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Consumes this value returns a poem::Result<T>.

Should always be Self

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