Struct webdav_handler::actix::DavResponse [−][src]
This is supported on crate feature
actix-compat
only.Expand description
http::Response
compatibility.
Wraps http::Response<dav_handler::body::Body>
and implements actix_web::Responder.
Trait Implementations
impl From<Response<Body>> for DavResponse
[src]
impl From<Response<Body>> for DavResponse
[src]fn from(resp: Response<Body>) -> DavResponse
[src]
fn from(resp: Response<Body>) -> DavResponse
[src]Performs the conversion.
impl Responder for DavResponse
[src]
impl Responder for DavResponse
[src]fn respond_to(self, _req: &HttpRequest) -> HttpResponse
[src]
fn respond_to(self, _req: &HttpRequest) -> HttpResponse
[src]Convert self to HttpResponse
.
fn with_status(self, status: StatusCode) -> CustomResponder<Self>
[src]
fn with_status(self, status: StatusCode) -> CustomResponder<Self>
[src]Override a status code for a Responder. Read more
fn with_header<H>(self, header: H) -> CustomResponder<Self> where
H: IntoHeaderPair,
[src]
fn with_header<H>(self, header: H) -> CustomResponder<Self> where
H: IntoHeaderPair,
[src]Insert header to the final response. Read more
Auto Trait Implementations
impl !RefUnwindSafe for DavResponse
impl Send for DavResponse
impl !Sync for DavResponse
impl Unpin for DavResponse
impl !UnwindSafe for DavResponse
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
fn in_current_span(self) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
type Output = T
Should always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,