error_support

Trait GetErrorHandling

Source
pub trait GetErrorHandling {
    type ExternalError;

    // Required method
    fn get_error_handling(&self) -> ErrorHandling<Self::ExternalError>;
}
Expand description

A trait to define how errors are converted and reported.

Required Associated Types§

Required Methods§

Source

fn get_error_handling(&self) -> ErrorHandling<Self::ExternalError>

Return how to handle our internal errors

Implementors§

impl GetErrorHandling for Error

impl GetErrorHandling for Error

impl GetErrorHandling for Error

impl GetErrorHandling for Error

impl GetErrorHandling for PushError

impl GetErrorHandling for Error

impl GetErrorHandling for Error

impl GetErrorHandling for Error

impl GetErrorHandling for Error