scale_encode::error

Trait CustomError

source
pub trait CustomError:
    Error
    + Send
    + Sync
    + 'static { }
Expand description

Anything implementing this trait can be used in ErrorKind::Custom.

Implementors§

source§

impl<T: Error + Send + Sync + 'static> CustomError for T