flux_refineck::checker::errors

Trait ResultExt

Source
pub trait ResultExt<T> {
    // Required methods
    fn with_span(self, span: Span) -> Result<T, CheckerError>;
    fn with_src_info(self, src_info: SourceInfo) -> Result<T, CheckerError>;
}

Required Methods§

Source

fn with_span(self, span: Span) -> Result<T, CheckerError>

Source

fn with_src_info(self, src_info: SourceInfo) -> Result<T, CheckerError>

Implementations on Foreign Types§

Source§

impl<T, E> ResultExt<T> for Result<T, E>
where E: Into<CheckerErrKind>,

Implementors§