gix_packetline_blocking::encode

Function text_to_write

source
pub fn text_to_write(text: &[u8], out: impl Write) -> Result<usize>
Available on crate feature blocking-io only.
Expand description

Write a text message to out, which is assured to end in a newline.