Skip to main content

HandlerResult

Type Alias HandlerResult 

pub type HandlerResult = Result<(), Box<dyn Error + Send + Sync>>;
Available on crate features html and http only.
Expand description

The result of an element content handler. An error aborts the rewrite.

Aliased Type§

pub enum HandlerResult {
    Ok(()),
    Err(Box<dyn Error + Send + Sync>),
}

Variants§

§1.0.0

Ok(())

Contains the success value

§1.0.0

Err(Box<dyn Error + Send + Sync>)

Contains the error value