pub struct Response(_);
Expand description
Type for route responses that have already been turned into packets usually for lifetime reasons
Trait Implementations§
source§impl IntoResponse for Response
impl IntoResponse for Response
source§fn into_response(self, _req: &Packet) -> Packet
fn into_response(self, _req: &Packet) -> Packet
Simply provide the already compute response
Auto Trait Implementations§
impl RefUnwindSafe for Response
impl Send for Response
impl Sync for Response
impl Unpin for Response
impl UnwindSafe for Response
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