Function nix_compat::wire::bytes::reader::trailer::read_trailer

source ·
pub(crate) fn read_trailer<R: AsyncRead + Unpin, T: Tag>(
    reader: R,
    data_len: u8,
) -> ReadTrailer<R, T> 
Expand description

read_trailer returns a Future that reads a trailer with a given Tag from reader