Type Alias tantivy::Result

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

Tantivy result.

Within tantivy, please avoid importing Result using use crate::Result and instead, refer to this as crate::Result<T>.

Aliased Type§

enum Result<T> {
    Ok(T),
    Err(TantivyError),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(TantivyError)

Contains the error value