Type Alias zstd_safe::SafeResult

source ·
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.

Aliased Type§

enum SafeResult {
    Ok(usize),
    Err(usize),
}

Variants§

§1.0.0

Ok(usize)

Contains the success value

§1.0.0

Err(usize)

Contains the error value