Type Alias TokenReaderResult

Source
pub type TokenReaderResult<T> = Result<T, TokenReaderError>;
Expand description

Result type bound with TokenReaderError.

Aliased Type§

pub enum TokenReaderResult<T> {
    Ok(T),
    Err(TokenReaderError),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(TokenReaderError)

Contains the error value