pub struct HttpBuilder { /* private fields */ }Expand description
HTTP Local server builder
Implementations§
Source§impl HttpBuilder
impl HttpBuilder
Sourcepub fn new(client_config: ServerAddr, balancer: PingBalancer) -> Self
pub fn new(client_config: ServerAddr, balancer: PingBalancer) -> Self
Create a new HTTP Local server builder
Sourcepub fn with_context(
context: Arc<ServiceContext>,
client_config: ServerAddr,
balancer: PingBalancer,
) -> Self
pub fn with_context( context: Arc<ServiceContext>, client_config: ServerAddr, balancer: PingBalancer, ) -> Self
Create with an existed context
Auto Trait Implementations§
impl Freeze for HttpBuilder
impl !RefUnwindSafe for HttpBuilder
impl Send for HttpBuilder
impl Sync for HttpBuilder
impl Unpin for HttpBuilder
impl !UnwindSafe for HttpBuilder
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