Skip to main content

HookResult

Type Alias HookResult 

Source
pub type HookResult = Result<(), HookError>;
Expand description

The outcome returned by a hook handler.

Aliased Type§

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

Variants§

§1.0.0

Ok(())

Contains the success value

§1.0.0

Err(HookError)

Contains the error value