Skip to main content

ChainPrep

Type Alias ChainPrep 

Source
pub type ChainPrep<T, E> = Result<Result<T, E>, Error>;
Expand description

Return type for run_chain_blocking. The outer Result carries helper-prep errors (ensure_model_ready + cache take); the inner Result is whatever the caller’s closure returned. Closure errors pass through unchanged so the caller can distinguish orchestrator-specific failures (StageFailed, Invalid) from prep failures (ensure/cache).

Aliased Type§

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

Variants§

§1.0.0

Ok(Result<T, E>)

Contains the success value

§1.0.0

Err(Error)

Contains the error value