pub struct ActixFilesService { /* private fields */ }Available on crate feature
actix-web only.Expand description
Internal implementation of ActixFiles service.
Use ActixFiles instead!
Trait Implementations§
Source§impl Deref for ActixFilesService
impl Deref for ActixFilesService
Source§type Target = ActixFiles
type Target = ActixFiles
The resulting type after dereferencing.
Source§impl Service<ServiceRequest> for ActixFilesService
impl Service<ServiceRequest> for ActixFilesService
Source§type Response = ServiceResponse
type Response = ServiceResponse
Responses given by the service.
Source§type Future = Ready<Result<<ActixFilesService as Service<ServiceRequest>>::Response, <ActixFilesService as Service<ServiceRequest>>::Error>>
type Future = Ready<Result<<ActixFilesService as Service<ServiceRequest>>::Response, <ActixFilesService as Service<ServiceRequest>>::Error>>
The future response value.
Source§fn poll_ready(
&self,
_: &mut Context<'_>,
) -> Poll<Result<(), <ActixFilesService as Service<ServiceRequest>>::Error>>
fn poll_ready( &self, _: &mut Context<'_>, ) -> Poll<Result<(), <ActixFilesService as Service<ServiceRequest>>::Error>>
Returns
Ready when the service is able to process requests. Read moreSource§fn call(
&self,
req: ServiceRequest,
) -> <ActixFilesService as Service<ServiceRequest>>::Future
fn call( &self, req: ServiceRequest, ) -> <ActixFilesService as Service<ServiceRequest>>::Future
Process the request and return the response asynchronously. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for ActixFilesService
impl !Send for ActixFilesService
impl !Sync for ActixFilesService
impl !UnwindSafe for ActixFilesService
impl Freeze for ActixFilesService
impl Unpin for ActixFilesService
impl UnsafeUnpin for ActixFilesService
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<S, Req> IntoService<S, Req> for Swhere
S: Service<Req>,
impl<S, Req> IntoService<S, Req> for Swhere
S: Service<Req>,
Source§fn into_service(self) -> S
fn into_service(self) -> S
Convert to a
ServiceSource§impl<S, Req> ServiceExt<Req> for Swhere
S: Service<Req>,
impl<S, Req> ServiceExt<Req> for Swhere
S: Service<Req>,
Source§fn map<F, R>(self, f: F) -> Map<Self, F, Req, R>
fn map<F, R>(self, f: F) -> Map<Self, F, Req, R>
Map this service’s output to a different type, returning a new service
of the resulting type. Read more