Function shadowsocks_service::net::utils::ignore_until_end[][src]

pub async fn ignore_until_end<R>(reader: &mut R) -> Result<()> where
    R: AsyncRead + Unpin

Consumes all data from reader and throws away until EOF