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

A typedef of the result returned by hooks.

Aliased Type§

enum HookResult<E = HookError> {
    Ok(()),
    Err(E),
}

Variants§

§1.0.0

Ok(())

Contains the success value

§1.0.0

Err(E)

Contains the error value