Type Definition zstd_safe::SafeResult[][src]

pub type SafeResult = Result<usize, ErrorCode>;
Expand description

Wrapper result around most zstd functions.

Either a success code (usually number of bytes written), or an error code.