Trait scaproust::transport::Transport [] [src]

pub trait Transport {
    fn connect(&self, dest: &Destination) -> Result<Box<Pipe>>;
    fn bind(&self, dest: &Destination) -> Result<Box<Acceptor>>;
}

Required Methods

Implementors