pub trait EntryExtensions: DatabaseEntry<EntryDb = LibraryDb> {
// Required methods
fn db_patch(self, db: Option<LibraryDb>) -> Result<(), TransactionError>
where Self: Patchable<Self>;
fn db_create(
args: Self::CreateArgs,
) -> Result<Self, CustomTransactionError<Self::Err>>
where Self: Createable;
fn db_merge(
&self,
into: Self::Id,
) -> Result<(), CustomTransactionError<Self::Err>>
where Self: Mergeable;
}Required Methods§
fn db_patch(self, db: Option<LibraryDb>) -> Result<(), TransactionError>where
Self: Patchable<Self>,
fn db_create(
args: Self::CreateArgs,
) -> Result<Self, CustomTransactionError<Self::Err>>where
Self: Createable,
fn db_merge(
&self,
into: Self::Id,
) -> Result<(), CustomTransactionError<Self::Err>>where
Self: Mergeable,
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.