Trait asio::Connect [] [src]

pub trait Connect<P: Protocol>: IoObject + FromRawFd<P> + Send + 'static {
    fn async_connect<F: Handler<()>>(&self, ep: &P::Endpoint, handler: F);
    fn connect(&self, ep: &P::Endpoint) -> Result<()>;
}

Required Methods

fn async_connect<F: Handler<()>>(&self, ep: &P::Endpoint, handler: F)

fn connect(&self, ep: &P::Endpoint) -> Result<()>

Implementors