pub trait Accumulate<T>: Default {
// Required method
fn try_done(self, field: &'static str) -> Result<T, Error>;
}
Expand description
A type implementing Accumulate<T>
is used to accumulate a value of type T
.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.