Function build_state_with_options

Source
pub async fn build_state_with_options(
    store_root: PathBuf,
    audit_log: Option<PathBuf>,
    chain_secret: Option<Vec<u8>>,
    auth: AuthLayer,
    options: AppStateOptions,
) -> Result<AppState, String>
Expand description

Construct app state with explicit cache and audit-rotation options.