Struct hdf5::LocationInfo [−][src]
pub struct LocationInfo {
pub fileno: u64,
pub token: LocationToken,
pub loc_type: LocationType,
pub num_links: usize,
pub atime: i64,
pub mtime: i64,
pub ctime: i64,
pub btime: i64,
pub num_attrs: usize,
}
Expand description
Metadata information describing a Location
Notes
In order for all timestamps to be filled out, a few conditions must hold:
- Minimum HDF5 library version is 1.10.3.
- Library version lower bound in the file access plist must be set to a least 1.10. This
can be done via
FileAccessBuilder::libver_v110
orFileAccessBuilder::libver_latest
. - For datasets, additionally, time tracking must be enabled (which is disabled
by default to improve access performance). This can be done via
DatasetBuilder::track_times
. If tracking is enabled, ctime timestamp will likely be filled out even if library version lower bound is not set), but the other three will be zero.
Fields
fileno: u64
Number of file where the object is located
token: LocationToken
Object address in file, or a token identifier
loc_type: LocationType
Basic location type of the object
num_links: usize
Number of hard links to the object
atime: i64
Access time
mtime: i64
Modification time
ctime: i64
Change time
btime: i64
Birth time
num_attrs: usize
Number of attributes attached to the object
Trait Implementations
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for LocationInfo
impl Send for LocationInfo
impl Sync for LocationInfo
impl Unpin for LocationInfo
impl UnwindSafe for LocationInfo
Blanket Implementations
Mutably borrows from an owned value. Read more