pub trait JoinEncoding:
'static
+ Send
+ Sync
+ Default {
type EncodedRow: CachedJoinRow<DecodedRow = Self::DecodedRow> + Default;
type DecodedRow: Row;
// Required method
fn encode<R: Row>(row: &JoinRow<R>) -> Self::EncodedRow;
}Required Associated Types§
type EncodedRow: CachedJoinRow<DecodedRow = Self::DecodedRow> + Default
type DecodedRow: Row
Required Methods§
fn encode<R: Row>(row: &JoinRow<R>) -> Self::EncodedRow
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.