Skip to main content

EntityListRes

Type Alias EntityListRes 

Source
pub type EntityListRes<I, T = ()> = Result<T, EntityListError<I>>;
Expand description

Result type returned by list operations.

Uses EntityListError<I> as the error kind so callers can handle list specific failures (broken invariants, sentinel misuse, etc.).

Aliased Type§

pub enum EntityListRes<I, T = ()> {
    Ok(T),
    Err(EntityListError<I>),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(EntityListError<I>)

Contains the error value