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
Source§fn respond_to(self, _req: &HttpRequest) -> HttpResponse
fn respond_to(self, _req: &HttpRequest) -> HttpResponse
Convert self to
HttpResponse
.Source§fn with_status(self, status: StatusCode) -> CustomResponder<Self>where
Self: Sized,
fn with_status(self, status: StatusCode) -> CustomResponder<Self>where
Self: Sized,
Override a status code for a Responder. Read more
Source§fn with_header<H>(self, header: H) -> CustomResponder<Self>where
Self: Sized,
H: IntoHeaderPair,
fn with_header<H>(self, header: H) -> CustomResponder<Self>where
Self: Sized,
H: IntoHeaderPair,
Insert header to the final response. Read more
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