Function write_string

Source
pub async fn write_string<W: AsyncWriteExt + Unpin, S: AsRef<str> + Debug>(
    w: &mut W,
    s: S,
) -> Result<()>
Expand description

Write a string to the stream. See: NixReader::read_string.