Skip to main content

PrefixResult

Type Alias PrefixResult 

Source
pub type PrefixResult = Result<(Box<[u8]>, Box<[u8]>), StoreError>;
Expand description

Type alias for the result of a prefix iterator.

Aliased Type§

pub enum PrefixResult {
    Ok((Box<[u8]>, Box<[u8]>)),
    Err(StoreError),
}

Variants§

§1.0.0

Ok((Box<[u8]>, Box<[u8]>))

Contains the success value

§1.0.0

Err(StoreError)

Contains the error value