write_bool

Function write_bool 

Source
pub async fn write_bool<W: AsyncWriteExt + Unpin>(
    w: &mut W,
    v: bool,
) -> Result<()>
Expand description

Write a boolean to the stream, encoded as u64 (>0 is true).