Skip to main content

put_string

Function put_string 

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

ยงErrors

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