Skip to main content

TypedRowAdapter

Trait TypedRowAdapter 

Source
pub trait TypedRowAdapter {
    type Row;

    // Required method
    fn decode_row(
        binding: &TypedEntityBinding,
        row: OutputRow,
    ) -> Result<Self::Row, TypedAdapterError>;
}
Expand description

IcyDB-owned decode adapter implemented by runtime-enabled generated code.

Required Associated Types§

Source

type Row

Complete application row produced by decoding.

Required Methods§

Source

fn decode_row( binding: &TypedEntityBinding, row: OutputRow, ) -> Result<Self::Row, TypedAdapterError>

Decode one accepted output row through an opaque current binding.

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§