pub struct HttpSubsystemFactory { /* private fields */ }Expand description
Factory for creating HTTP subsystem instances.
Implementations§
Source§impl HttpSubsystemFactory
impl HttpSubsystemFactory
Sourcepub fn new(config: HttpConfig) -> Self
pub fn new(config: HttpConfig) -> Self
Create a new HTTP subsystem factory with the given configuration.
Trait Implementations§
Source§impl SubsystemFactory<StandardCommandTransaction> for HttpSubsystemFactory
impl SubsystemFactory<StandardCommandTransaction> for HttpSubsystemFactory
fn create<'life0, 'async_trait>(
self: Box<Self>,
ioc: &'life0 IocContainer,
) -> Pin<Box<dyn Future<Output = Result<Box<dyn Subsystem>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn provide_interceptors( &self, builder: StandardInterceptorBuilder<CT>, _ioc: &IocContainer, ) -> StandardInterceptorBuilder<CT>
Auto Trait Implementations§
impl Freeze for HttpSubsystemFactory
impl RefUnwindSafe for HttpSubsystemFactory
impl Send for HttpSubsystemFactory
impl Sync for HttpSubsystemFactory
impl Unpin for HttpSubsystemFactory
impl UnwindSafe for HttpSubsystemFactory
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