Skip to main content

put_nullable_string

Function put_nullable_string 

Source
pub fn put_nullable_string<B: BufMut>(
    buf: &mut B,
    s: Option<&str>,
) -> Result<(), ProtocolError>
Expand description

ยงErrors

Returns ProtocolError::LengthOverflow when the length does not fit its prefix.