Skip to main content

write

Function write 

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

Writes and flushes one bounded maintenance message.

ยงErrors

Returns encoding, frame-size, or channel I/O errors.