pub trait Dumpable: Sized {
    type Error;
    type Constant: Constant;

    // Required method
    fn with_dump<R>(
        &self,
        f: impl FnOnce(DumpableValue<'_, Self>) -> R
    ) -> Result<R, Self::Error>;
}

Required Associated Types§

Required Methods§

source

fn with_dump<R>( &self, f: impl FnOnce(DumpableValue<'_, Self>) -> R ) -> Result<R, Self::Error>

Object Safety§

This trait is not object safe.

Implementors§