Trait pearl::error::AsPearlError

source ·
pub trait AsPearlError {
    // Required method
    fn as_pearl_error(&self) -> Option<&Error>;
}
Expand description

Convenient helper for downcasting anyhow error to pearl error.

Required Methods§

source

fn as_pearl_error(&self) -> Option<&Error>

Performs conversion.

Implementations on Foreign Types§

source§

impl AsPearlError for Error

Implementors§