#[repr(u8)]pub enum Section {
None = 1,
PreData = 2,
Data = 3,
PostData = 4,
}
Expand description
Enumeration of table of contents section types.
Each entry in the table of contents is associate with a section, which determines the order in which the entries are processed during a restore. The order is:
- PreData
- Data
- PostData
Variants§
None = 1
Used for table of contents entries that do not modify the schema or add data.
PreData = 2
Indicates an entry that must be processed before table data is loaded. This is normally used for creation of schemas, tables, setting the search path, etc.
Data = 3
Used for entries that load data into tables.
PostData = 4
Used for entries that must be processed after table data is loaded. This is used for things like setting the next value of sequences.
Trait Implementations§
impl Copy for Section
impl StructuralPartialEq for Section
Auto Trait Implementations§
impl Freeze for Section
impl RefUnwindSafe for Section
impl Send for Section
impl Sync for Section
impl Unpin for Section
impl UnwindSafe for Section
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