pub type ProgramResult = Result<(), ProgramError>;

Aliased Type§

enum ProgramResult {
    Ok(()),
    Err(ProgramError),
}

Variants§

§1.0.0

Ok(())

Contains the success value

§1.0.0

Err(ProgramError)

Contains the error value