Trait liquid::compiler::ResultLiquidChainExt [] [src]

pub trait ResultLiquidChainExt<T, E> {
    fn chain(self, msg: &'static str) -> Result<T>;
fn chain_with<F>(self, msg: F) -> Result<T>
    where
        F: FnOnce() -> String
; }

Result extension methods for adapting third party errors to Error.

Required Methods

Create an Error with E as the cause.

Create an Error with E as the cause.

Implementations on Foreign Types

impl<T, E> ResultLiquidChainExt<T, E> for Result<T, E> where
    E: Error + Send + Sync + 'static, 
[src]

Result convenience extension methods for working with Error.

[src]

[src]

Implementors