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.
- database name
- database schema
- 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§
impl Freeze for InlineFormat
impl RefUnwindSafe for InlineFormat
impl Send for InlineFormat
impl Sync for InlineFormat
impl Unpin for InlineFormat
impl UnwindSafe for InlineFormat
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more