pub struct ResourceFilesService { /* private fields */ }
Trait Implementations§
Source§impl Deref for ResourceFilesService
impl Deref for ResourceFilesService
Source§impl<'a> Service for ResourceFilesService
impl<'a> Service for ResourceFilesService
Source§type Request = ServiceRequest
type Request = ServiceRequest
Requests handled by the service.
Source§type Response = ServiceResponse
type Response = ServiceResponse
Responses given by the service.
Source§type Future = Ready<Result<<ResourceFilesService as Service>::Response, <ResourceFilesService as Service>::Error>>
type Future = Ready<Result<<ResourceFilesService as Service>::Response, <ResourceFilesService as Service>::Error>>
The future response value.
Source§fn poll_ready(&mut self, _: &mut Context<'_>) -> Poll<Result<(), Self::Error>>
fn poll_ready(&mut self, _: &mut Context<'_>) -> Poll<Result<(), Self::Error>>
Returns
Ready
when the service is able to process requests. Read moreSource§fn call(&mut self, req: ServiceRequest) -> Self::Future
fn call(&mut self, req: ServiceRequest) -> Self::Future
Process the request and return the response asynchronously. Read more
Auto Trait Implementations§
impl Freeze for ResourceFilesService
impl RefUnwindSafe for ResourceFilesService
impl !Send for ResourceFilesService
impl !Sync for ResourceFilesService
impl Unpin for ResourceFilesService
impl UnwindSafe for ResourceFilesService
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<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<T> IntoService<T> for Twhere
T: Service,
impl<T> IntoService<T> for Twhere
T: Service,
Source§fn into_service(self) -> T
fn into_service(self) -> T
Convert to a
Service