Type Alias magic_regexp::Result

source ·
pub type Result<T> = Result<T, Error>;
Expand description

A type, which is used to return results from this crate. Mostly used to wrap results from the Regex crate.

Aliased Type§

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

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(Error)

Contains the error value