pub enum InlineFormat {
    Header,
    RawMeta,
    RawData,
    StbData,
}
Expand description

Inlined data format in backup file.

Variants

Header

Only located at the exactly header of a file, contains basic information describing the data included.

  1. database name
  2. database schema
  3. single table or not.

RawMeta

Raw meta message from TMQ, which could be write back to a TDengine cluster seamlessly.

RawData

Raw data message from TMQ, contains data block of a child table or common table.

StbData

For stable data not use TMQ, contains STable schema and table name - tags entry map.

This type of data will be built from legacy whole backup strategy.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.