pub enum DataStorage {
Ascii,
AsciiInline,
Hdf5SingleFile {
deflate_level: Option<u8>,
},
Hdf5MultipleFiles {
deflate_level: Option<u8>,
},
Binary,
}Expand description
Type of storage used for the heavy data (e.g. ASCII or HDF5)
Variants§
Ascii
store the data in ASCII format, each set of data is stored in a separate file.
AsciiInline
store the data in ASCII format, but inline in the XDMF file. This is only recommended for small datasets.
Hdf5SingleFile
store the data in HDF5 format, all data in a single HDF5 file.
Fields
Hdf5MultipleFiles
store the data in HDF5 format, one file per time step.
Fields
Binary
store the data in uncompressed raw binary format, each set of data is stored in a separate file.
Trait Implementations§
Source§impl Clone for DataStorage
impl Clone for DataStorage
Source§fn clone(&self) -> DataStorage
fn clone(&self) -> DataStorage
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for DataStorage
Source§impl Debug for DataStorage
impl Debug for DataStorage
Source§impl<'de> Deserialize<'de> for DataStorage
impl<'de> Deserialize<'de> for DataStorage
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for DataStorage
Source§impl FromStr for DataStorage
impl FromStr for DataStorage
Source§impl Hash for DataStorage
impl Hash for DataStorage
Source§impl PartialEq for DataStorage
impl PartialEq for DataStorage
Source§impl Serialize for DataStorage
impl Serialize for DataStorage
impl StructuralPartialEq for DataStorage
Auto Trait Implementations§
impl Freeze for DataStorage
impl RefUnwindSafe for DataStorage
impl Send for DataStorage
impl Sync for DataStorage
impl Unpin for DataStorage
impl UnsafeUnpin for DataStorage
impl UnwindSafe for DataStorage
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