Skip to main content

PolarsResult

Type Alias PolarsResult 

Source
pub type PolarsResult<T> = Result<T, PolarsError>;

Aliased Type§

pub enum PolarsResult<T> {
    Ok(T),
    Err(PolarsError),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(PolarsError)

Contains the error value

Trait Implementations§

Source§

impl<T> PolarsContext<T> for PolarsResult<T>

Source§

fn context(self, ctx: &'static str) -> PolarsResult<T>

Source§

fn with_context<F>(self, f: F) -> PolarsResult<T>
where F: FnOnce() -> String,