Type Alias SwiftResult

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

Simplified result type for SWIFT operations

Aliased Type§

pub enum SwiftResult<T> {
    Ok(T),
    Err(ParseError),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(ParseError)

Contains the error value