pub struct DavResponse(pub Response<Body>);
Available on crate feature
actix-compat
only.Expand description
http::Response
compatibility.
Wraps http::Response<dav_handler::body::Body>
and implements actix_web::Responder.
Tuple Fields§
§0: Response<Body>
Trait Implementations§
Source§impl Responder for DavResponse
impl Responder for DavResponse
type Body = BoxBody
Source§fn respond_to(self, _req: &HttpRequest) -> HttpResponse<BoxBody>
fn respond_to(self, _req: &HttpRequest) -> HttpResponse<BoxBody>
Convert self to
HttpResponse
.Auto Trait Implementations§
impl !Freeze for DavResponse
impl !RefUnwindSafe for DavResponse
impl Send for DavResponse
impl !Sync for DavResponse
impl Unpin for DavResponse
impl !UnwindSafe for DavResponse
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