Skip to main content

write_line

Function write_line 

Source
pub async fn write_line<W: AsyncWrite + Unpin, T: Serialize>(
    writer: &mut W,
    value: &T,
) -> Result<()>
Expand description

Writes value as one line to writer.

ยงErrors

The stream failed.