pub trait CreateDatabaseUpdates {
type DatabaseUpdates;
// Required method
fn create_database_updates_with_mapper<M>(&self) -> Self::DatabaseUpdates
where M: DatabaseKeyMapper;
// Provided method
fn create_database_updates(&self) -> Self::DatabaseUpdates { ... }
}
Required Associated Types§
Required Methods§
Sourcefn create_database_updates_with_mapper<M>(&self) -> Self::DatabaseUpdateswhere
M: DatabaseKeyMapper,
fn create_database_updates_with_mapper<M>(&self) -> Self::DatabaseUpdateswhere
M: DatabaseKeyMapper,
Uses the given DatabaseKeyMapper
to express self using database-level key encoding.
Provided Methods§
Sourcefn create_database_updates(&self) -> Self::DatabaseUpdates
fn create_database_updates(&self) -> Self::DatabaseUpdates
Uses the default DatabaseKeyMapper
, SpreadPrefixKeyMapper
, to express self using database-level key encoding.
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.