Struct actix_service::dev::UnitConfig [−][src]
unit_config()
config combinator
Trait Implementations
impl<SF, Cfg, Req> Clone for UnitConfig<SF, Cfg, Req> where
SF: Clone,
[src]
SF: Clone,
fn clone(&self) -> Self
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<SF, Cfg, Req> ServiceFactory<Req> for UnitConfig<SF, Cfg, Req> where
SF: ServiceFactory<Req, Config = ()>,
[src]
SF: ServiceFactory<Req, Config = ()>,
type Response = SF::Response
Responses given by the created services.
type Error = SF::Error
Errors produced by the created services.
type Config = Cfg
Service factory configuration.
type Service = SF::Service
The kind of Service
created by this factory.
type InitError = SF::InitError
Errors potentially raised while building a service.
type Future = SF::Future
The future of the Service
instance.
fn new_service(&self, _: Cfg) -> Self::Future
[src]
Auto Trait Implementations
impl<SF, Cfg, Req> Send for UnitConfig<SF, Cfg, Req> where
Cfg: Send,
Req: Send,
SF: Send,
[src]
Cfg: Send,
Req: Send,
SF: Send,
impl<SF, Cfg, Req> Sync for UnitConfig<SF, Cfg, Req> where
Cfg: Sync,
Req: Sync,
SF: Sync,
[src]
Cfg: Sync,
Req: Sync,
SF: Sync,
impl<SF, Cfg, Req> Unpin for UnitConfig<SF, Cfg, Req> where
Cfg: Unpin,
Req: Unpin,
SF: Unpin,
[src]
Cfg: Unpin,
Req: Unpin,
SF: Unpin,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<SF, Req> IntoServiceFactory<SF, Req> for SF where
SF: ServiceFactory<Req>,
[src]
SF: ServiceFactory<Req>,
pub fn into_factory(Self) -> SF
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,