Trait zebra_rpc::methods::errors::MapServerError

source ·
pub(crate) trait MapServerError<T, E> {
    // Required method
    fn map_server_error(self) -> Result<T, Error>;
}

Required Methods§

source

fn map_server_error(self) -> Result<T, Error>

Implementations on Foreign Types§

source§

impl<T, E> MapServerError<T, E> for Result<T, E>
where E: ToString,

source§

fn map_server_error(self) -> Result<T, Error>

Implementors§