Trait HostClientHandshake

Source
pub trait HostClientHandshake {
    // Required methods
    fn new(
        &mut self,
        server_name: String,
        input: Resource<InputStream>,
        output: Resource<OutputStream>,
    ) -> Result<Resource<ClientHandshake>>;
    fn finish(
        &mut self,
        this: Resource<ClientHandshake>,
    ) -> Result<Resource<FutureClientStreams>>;
    fn drop(&mut self, rep: Resource<ClientHandshake>) -> Result<()>;
}

Required Methods§

Implementations on Foreign Types§

Source§

impl<_T: HostClientHandshake + ?Sized> HostClientHandshake for &mut _T

Implementors§