[][src]Trait kv_crud_core::Update

pub trait Update<I, E: Entity<I>> {
type Error;
    fn update(&mut self, entity: &E) -> Result<(), Self::Error>;
}

Represents the ability to update the entity. This trait is used by custom storage implementations.

Associated Types

type Error

Loading content...

Required methods

fn update(&mut self, entity: &E) -> Result<(), Self::Error>

Loading content...

Implementors

Loading content...