revm_context_interface::errors

Trait ErrorGetter

Source
pub trait ErrorGetter {
    type Error;

    // Required method
    fn take_error(&mut self) -> Result<(), Self::Error>;
}

Required Associated Types§

Required Methods§

Source

fn take_error(&mut self) -> Result<(), Self::Error>

Implementations on Foreign Types§

Source§

impl<'a, T: 'a + ErrorGetter + ?Sized> ErrorGetter for &'a mut T

Source§

type Error = <T as ErrorGetter>::Error

Source§

fn take_error(&mut self) -> Result<(), Self::Error>

Source§

impl<T: ErrorGetter + ?Sized> ErrorGetter for Box<T>

Source§

type Error = <T as ErrorGetter>::Error

Source§

fn take_error(&mut self) -> Result<(), Self::Error>

Implementors§