pub trait GenericContexts<T> {
    // Required methods
    fn context_failed(self) -> Result<T>;
    fn context_internal(self) -> Result<T, DecoderError>;
    fn context_unsupported(self, msg: String) -> Result<T, DecoderError>;
}

Required Methods§

Implementations on Foreign Types§

source§

impl<T> GenericContexts<T> for Option<T>

source§

impl<T, E> GenericContexts<T> for Result<T, E>where E: Error + Send + Sync + 'static,

Implementors§