Skip to main content

HookResult

Type Alias HookResult 

pub type HookResult = Result<Verdict, HookError>;
Expand description

What a hook answers: a verdict, or the reason it could not decide.

Aliased Type§

pub enum HookResult {
    Ok(Verdict),
    Err(HookError),
}

Variants§

§1.0.0

Ok(Verdict)

Contains the success value

§1.0.0

Err(HookError)

Contains the error value