Skip to main content

HandlerResult

Type Alias HandlerResult 

Source
pub type HandlerResult = Result<(), BoxError>;
Available on crate feature html 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 + Sync + Send>),
}

Variants§

§1.0.0

Ok(())

Contains the success value

§1.0.0

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

Contains the error value