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 or FileAccessBuilder::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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

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

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

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

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.