pub fn count_was_truncated(
result: Result<usize, ProtoError>,
) -> Result<(usize, bool), ProtoError>
Expand description
Returns the count written and a boolean if it was truncated
pub fn count_was_truncated(
result: Result<usize, ProtoError>,
) -> Result<(usize, bool), ProtoError>
Returns the count written and a boolean if it was truncated