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§

source

fn try_done(self, field: &'static str) -> Result<T, Error>

Implementations on Foreign Types§

source§

impl<T> Accumulate<T> for Option<T>

source§

fn try_done(self, field: &'static str) -> Result<T, Error>

source§

impl<T> Accumulate<Option<T>> for Option<T>

source§

fn try_done(self, _: &'static str) -> Result<Option<T>, Error>

source§

impl<T> Accumulate<Vec<T, Global>> for Vec<T>

source§

fn try_done(self, _: &'static str) -> Result<Vec<T>, Error>

Implementors§