pub type SafeResult = Result<usize, ErrorCode>;
Wrapper result around most zstd functions.
Either a success code (usually number of bytes written), or an error code.
enum SafeResult { Ok(usize), Err(usize), }
Contains the success value
Contains the error value