Skip to main content

Result

Type Alias Result 

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

Shorthand Result type that pins the error to ExportError.

Used as the return type of crate::lower and crate::Emitter::emit.

Aliased Type§

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

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(ExportError)

Contains the error value