pub async fn write_string<W: AsyncWriteExt + Unpin, S: AsRef<str> + Debug>( w: &mut W, s: S, ) -> Result<()>
Write a string to the stream. See: NixReader::read_string.