Type Alias yaml_rust2::emitter::EmitResult

source ·
pub type EmitResult = Result<(), EmitError>;
Expand description

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

Aliased Type§

enum EmitResult {
    Ok(()),
    Err(EmitError),
}

Variants§

§1.0.0

Ok(())

Contains the success value

§1.0.0

Err(EmitError)

Contains the error value