Skip to main content

OrmRecordSession

Trait OrmRecordSession 

Source
pub trait OrmRecordSession {
    type Error;

    // Required method
    fn mutate_record(
        self,
        record: &mut DynamicRecord,
        mutation: RecordMutation,
    ) -> Result<(), Self::Error>;
}
Expand description

Transport-specific RETURNING * hydration while preserving one session.

Required Associated Types§

Required Methods§

Source

fn mutate_record( self, record: &mut DynamicRecord, mutation: RecordMutation, ) -> Result<(), Self::Error>

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§