Skip to main content

Result

Type Alias Result 

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

Re-exported so fallible APIs (e.g. the #[spark_wasm_udf]-generated UDF constructors) can name the client’s Result/error types.

Aliased Type§

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

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(SparkError)

Contains the error value