Type Alias yaml_rust2::scanner::ScanResult

source ·
pub type ScanResult = Result<(), ScanError>;
Expand description

A convenience alias for scanner functions that may fail without returning a value.

Aliased Type§

enum ScanResult {
    Ok(()),
    Err(ScanError),
}

Variants§

§1.0.0

Ok(())

Contains the success value

§1.0.0

Err(ScanError)

Contains the error value