Skip to main content

EnsureOkReturnType

Type Alias EnsureOkReturnType 

Source
pub type EnsureOkReturnType = Result<(), ErrorGuaranteed>;
Expand description

Return type of the .ensure_ok() method for this query, which has the return_result_from_ensure_ok modifier.

Aliased Type§

pub enum EnsureOkReturnType {
    Ok(()),
    Err(ErrorGuaranteed),
}

Variants§

§

Ok(())

Contains the success value

§

Err(ErrorGuaranteed)

Contains the error value

Layout§

Note: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.