BspResult

Type Alias BspResult 

Source
pub type BspResult<T> = Result<T, BspParseError>;

Aliased Type§

pub enum BspResult<T> {
    Ok(T),
    Err(BspParseError),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(BspParseError)

Contains the error value

Trait Implementations§

Source§

impl<T> BspParseResultDoingJobExt for BspResult<T>

Source§

fn job(self, job: impl ToString) -> Self

Like map_err, but specifically for adding messages to BSP errors to tell the user exactly what was going on when the error occurred.