pub async fn write_pathinfo<W: AsyncWriteExt + Unpin>( w: &mut W, proto: Proto, pi: &PathInfo, ) -> Result<()>
Write a PathInfo structure to the stream.