pub enum TableCreateMode {
    New,
    NewNoReplace,
}
Expand description

Modes in which a casacore table can be created.

Note

Casacore allows for an additional mode, Scratch which it describes as “new table, which gets marked for delete”.

The use case for this was unclear, but if you have a use for this mode, consider opening an issue in rubbl.

For more details about the discussion of this mode, see this GitHub comment.

Variants§

§

New

Create a new table.

To check: if the table already exists, do we delete it or open it as-is or what?

§

NewNoReplace

Create a new table, raising an error if it already exists.

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.