Struct ohkami::typed::status::URITooLong
source · pub struct URITooLong<B: ResponseBody = ()>(pub B);
Expand description
Type-safe 414 URI Too Long
response with the ResponseBody
(()
or T: Payload + Serialize
).
Use ()
(default) to represent an empty content.
Tuple Fields§
§0: B
Trait Implementations§
source§impl<B: ResponseBody> IntoResponse for URITooLong<B>
impl<B: ResponseBody> IntoResponse for URITooLong<B>
fn into_response(self) -> Response
Auto Trait Implementations§
impl<B> Freeze for URITooLong<B>where
B: Freeze,
impl<B> RefUnwindSafe for URITooLong<B>where
B: RefUnwindSafe,
impl<B> Send for URITooLong<B>where
B: Send,
impl<B> Sync for URITooLong<B>where
B: Sync,
impl<B> Unpin for URITooLong<B>where
B: Unpin,
impl<B> UnwindSafe for URITooLong<B>where
B: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more