matrix_sdk_base::store

Type Alias Result

Source
pub type Result<T, E = StoreError> = Result<T, E>;
Expand description

A StateStore specific result type.

Aliased Type§

enum Result<T, E = StoreError> {
    Ok(T),
    Err(E),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(E)

Contains the error value