Skip to main content

Handled

Type Alias Handled 

Source
pub type Handled<T> = Result<T, OcpiError>;
Available on crate feature server only.
Expand description

The result every handler method returns.

Aliased Type§

pub enum Handled<T> {
    Ok(T),
    Err(OcpiError),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(OcpiError)

Contains the error value