mysql_common::binlog::jsonb

Trait StorageFormat

Source
pub trait StorageFormat {
    const IS_LARGE: bool;
    const OFFSET_SIZE: u8;
    const KEY_ENTRY_SIZE: u8 = _;
    const VALUE_ENTRY_SIZE: u8 = _;

    // Required method
    fn eat_offset(buf: &mut ParseBuf<'_>) -> u32;
}
Expand description

JSONB storage format for objects and arrays. See ComplexType.

Required Associated Constants§

Source

const IS_LARGE: bool

Source

const OFFSET_SIZE: u8

The size of offset or size fields.

Provided Associated Constants§

Required Methods§

Source

fn eat_offset(buf: &mut ParseBuf<'_>) -> u32

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§