Type Alias nbt_lib::error::NbtResult

source ·
pub type NbtResult<T> = Result<T, NbtError>;
Expand description

A type declaration to store data T or return an error of NbtError

Aliased Type§

enum NbtResult<T> {
    Ok(T),
    Err(NbtError),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(NbtError)

Contains the error value