Skip to main content

sync

Function sync 

Source
pub fn sync(buf: &mut BytesMut) -> Result<(), Error>
Expand description

Encodes a Sync.

ยงErrors

Returns Error::Encode if the message is larger than 2 GiB.