pub struct HttpBackend {
pub plugins: Vec<BoxLayer>,
pub backend: Backend,
pub weight: u16,
pub timeout: Option<Duration>,
pub ext: Extensions,
}Fields§
§plugins: Vec<BoxLayer>§backend: Backend§weight: u16§timeout: Option<Duration>§ext: ExtensionsImplementations§
Source§impl HttpBackend
impl HttpBackend
pub fn builder() -> HttpBackendBuilder
pub fn as_service(&self) -> ArcHyperService
Trait Implementations§
Auto Trait Implementations§
impl Freeze for HttpBackend
impl !RefUnwindSafe for HttpBackend
impl Send for HttpBackend
impl Sync for HttpBackend
impl Unpin for HttpBackend
impl !UnwindSafe for HttpBackend
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