pub struct AcceptorService { /* private fields */ }Expand description
Actix service that wraps streams in ProxyStream.
Trait Implementations§
Source§impl Clone for AcceptorService
impl Clone for AcceptorService
Source§fn clone(&self) -> AcceptorService
fn clone(&self) -> AcceptorService
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for AcceptorService
Source§impl Debug for AcceptorService
impl Debug for AcceptorService
Source§impl<IO> Service<IO> for AcceptorServicewhere
IO: ActixStream + 'static,
impl<IO> Service<IO> for AcceptorServicewhere
IO: ActixStream + 'static,
Source§type Response = ProxyStream<IO>
type Response = ProxyStream<IO>
Responses given by the service.
Source§type Error = ProxyProtocolError
type Error = ProxyProtocolError
Errors produced by the service when polling readiness or executing call.
Source§type Future = Pin<Box<dyn Future<Output = Result<<AcceptorService as Service<IO>>::Response, <AcceptorService as Service<IO>>::Error>>>>
type Future = Pin<Box<dyn Future<Output = Result<<AcceptorService as Service<IO>>::Response, <AcceptorService as Service<IO>>::Error>>>>
The future response value.
Auto Trait Implementations§
impl Freeze for AcceptorService
impl RefUnwindSafe for AcceptorService
impl Send for AcceptorService
impl Sync for AcceptorService
impl Unpin for AcceptorService
impl UnsafeUnpin for AcceptorService
impl UnwindSafe for AcceptorService
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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