Function snocat::util::framed::write_frame[][src]

pub async fn write_frame<T: AsyncWrite + Unpin>(
    s: &mut T,
    buffer: &[u8]
) -> Result<()>