Function nix_compat::wire::bytes::writer::ensure_nonzero_bytes_written
source · fn ensure_nonzero_bytes_written(bytes_written: usize) -> Result<usize, Error>
Expand description
Returns an error if the passed usize is 0.