Skip to main content

UpdateOne

Type Alias UpdateOne 

Source
pub type UpdateOne<'a, T> = dyn FnMut(Option<&T>) -> Result<Option<T>, SourceError> + 'a;
Expand description

What Table::update_one is given to decide a change to one record: that record as the table holds it (None when there is none), and the record to put, if any.