Struct service::ServeWorld
source · pub struct ServeWorld<S> { /* private fields */ }Expand description
A serving function to use with tarpc::server::InFlightRequest::execute.
Trait Implementations§
source§impl<S: Clone> Clone for ServeWorld<S>
impl<S: Clone> Clone for ServeWorld<S>
source§fn clone(&self) -> ServeWorld<S>
fn clone(&self) -> ServeWorld<S>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl<S> Serve<WorldRequest> for ServeWorld<S>where
S: World,
impl<S> Serve<WorldRequest> for ServeWorld<S>where S: World,
§type Resp = WorldResponse
type Resp = WorldResponse
Type of response.
§type Fut = WorldResponseFut<S>
type Fut = WorldResponseFut<S>
Type of response future.