Trait JoinEncoding

Source
pub trait JoinEncoding:
    'static
    + Send
    + Sync
    + Default {
    type EncodedRow: CachedJoinRow + Default;

    // Required method
    fn encode<R: Row>(row: &JoinRow<R>) -> Self::EncodedRow;
}

Required Associated Types§

Required Methods§

Source

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.

Implementors§