pub trait FallibleTableRowVersionStore {
type Error;
// Required methods
fn try_get_table_row_by_logical_id(
&self,
collection: &str,
logical_id: EntityId,
) -> Result<Option<UnifiedEntity>, Self::Error>;
fn try_for_each_table_row_version(
&self,
collection: &str,
logical_id: EntityId,
visit: impl FnMut(&UnifiedEntity) -> bool,
) -> Result<(), Self::Error>;
}Expand description
Fallible version access streams candidates instead of retaining a history Vec. Hosts supply only versions of the requested collection/logical identity.
Required Associated Types§
Required Methods§
fn try_get_table_row_by_logical_id( &self, collection: &str, logical_id: EntityId, ) -> Result<Option<UnifiedEntity>, Self::Error>
fn try_for_each_table_row_version( &self, collection: &str, logical_id: EntityId, visit: impl FnMut(&UnifiedEntity) -> bool, ) -> Result<(), Self::Error>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".