risingwave_batch::error

Type Alias SharedResult

source
pub type SharedResult<T> = Result<T, Arc<BatchError>>;
Expand description

Batch result with shared error.

Aliased Type§

enum SharedResult<T> {
    Ok(T),
    Err(Arc<BatchError>),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(Arc<BatchError>)

Contains the error value