Skip to main content

startup

Function startup 

Source
pub fn startup(buf: &mut BytesMut, params: &[(&str, &str)]) -> Result<(), Error>
Expand description

Encodes the startup message (no tag).

ยงErrors

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