Struct httptest::ServerBuilder [−][src]
pub struct ServerBuilder { /* fields omitted */ }
Expand description
Custom Server Builder.
Implementations
Create a new ServerBuilder. By default the server will listen on ipv6 loopback if available and fallback to ipv4 loopback if unable to bind to ipv6.
Specify the address the server should listen on.
Auto Trait Implementations
impl RefUnwindSafe for ServerBuilder
impl Send for ServerBuilder
impl Sync for ServerBuilder
impl Unpin for ServerBuilder
impl UnwindSafe for ServerBuilder
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more