Struct ciruela::proto::Client
[−]
[src]
pub struct Client { /* fields omitted */ }
Methods
impl Client
[src]
fn spawn<L>(
addr: SocketAddr,
host: String,
pool: &CpuPool,
listener: L
) -> ClientFuture where
L: Listener + 'static,
[src]
addr: SocketAddr,
host: String,
pool: &CpuPool,
listener: L
) -> ClientFuture where
L: Listener + 'static,
fn register_index(&mut self, info: &Arc<ImageInfo>)
[src]
Trait Implementations
impl RequestClient for Client
[src]
fn request_channel(&self) -> &Sender
[src]
fn request<R>(&self, request: R) -> RequestFuture<R::Response> where
R: Request + 'static,
[src]
R: Request + 'static,