Struct dredd_hooks::IntegrationServer
[−]
[src]
pub struct IntegrationServer { /* fields omitted */ }
Server that handles the integration between dredd and the individual hook servers.
Usually doesn't have to be used directly. Use the dredd-hooks-rust
binary invoked by dredd instead.
Methods
impl IntegrationServer
[src]
fn new() -> Self
Create a new instance.
fn start(srv: IntegrationServer, hookfiles: Vec<String>)
Start the provided IntegrationServer, and start the provided hookfiles as child processes.
Trait Implementations
impl Default for IntegrationServer
[src]
fn default() -> IntegrationServer
Returns the "default value" for a type. Read more
impl Debug for IntegrationServer
[src]
impl Clone for IntegrationServer
[src]
fn clone(&self) -> IntegrationServer
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Service for IntegrationServer
[src]
type Request = String
Requests handled by the service.
type Response = String
Responses given by the service.
type Error = Error
Errors produced by the service.
type Future = BoxFuture<Self::Response, Self::Error>
The future response value.
fn call(&self, req: Self::Request) -> Self::Future
Process the request and return the response asynchronously.