Trait carapax::IntoHandlerResult

source ·
pub trait IntoHandlerResult {
    // Required method
    fn into_result(self) -> HandlerResult;
}
Expand description

Converts objects into the HandlerResult.

Required Methods§

source

fn into_result(self) -> HandlerResult

Returns the converted object.

Implementations on Foreign Types§

source§

impl IntoHandlerResult for ()

source§

impl<E> IntoHandlerResult for Result<(), E>
where E: Error + Send + 'static,

Implementors§