Trait sgx_tstd::os::unix::fs::MetadataExt[][src]

pub trait MetadataExt {
    fn dev(&self) -> u64;
fn ino(&self) -> u64;
fn mode(&self) -> u32;
fn nlink(&self) -> u64;
fn uid(&self) -> u32;
fn gid(&self) -> u32;
fn rdev(&self) -> u64;
fn size(&self) -> u64;
fn atime(&self) -> i64;
fn atime_nsec(&self) -> i64;
fn mtime(&self) -> i64;
fn mtime_nsec(&self) -> i64;
fn ctime(&self) -> i64;
fn ctime_nsec(&self) -> i64;
fn blksize(&self) -> u64;
fn blocks(&self) -> u64; }

Required Methods

Returns the ID of the device containing the file.

Returns the inode number.

Returns the rights applied to this file.

Returns the number of hard links pointing to this file.

Returns the user ID of the owner of this file.

Returns the group ID of the owner of this file.

Returns the device ID of this file (if it is a special one).

Returns the total size of this file in bytes.

Returns the time of the last access to the file.

Returns the time of the last access to the file in nanoseconds.

Returns the time of the last modification of the file.

Returns the time of the last modification of the file in nanoseconds.

Returns the time of the last status change of the file.

Returns the time of the last status change of the file in nanoseconds.

Returns the blocksize for filesystem I/O.

Returns the number of blocks allocated to the file, in 512-byte units.

Please note that this may be smaller than st_size / 512 when the file has holes.

Implementors