pub trait ExtraAttributes {
Show 15 methods
// Required methods
fn ext(&self) -> &ExtraMeta;
fn header(&self) -> &DirectoryEntryHeader;
// Provided methods
fn relocated(&self) -> bool { ... }
fn time(&self) -> OffsetDateTime { ... }
fn owner(&self) -> Option<u32> { ... }
fn group(&self) -> Option<u32> { ... }
fn mode(&self) -> Option<PosixFileMode> { ... }
fn access_time(&self) -> OffsetDateTime { ... }
fn attribute_change_time(&self) -> OffsetDateTime { ... }
fn backup_time(&self) -> OffsetDateTime { ... }
fn create_time(&self) -> OffsetDateTime { ... }
fn effective_time(&self) -> OffsetDateTime { ... }
fn expire_time(&self) -> OffsetDateTime { ... }
fn modify_time(&self) -> OffsetDateTime { ... }
fn inode(&self) -> Option<u32> { ... }
}
Expand description
ExtraAttributes
encapsulates various metadata specified by ISO-9660 / ECMA-119 extensions.
This is the preferred way to get DirectoryEntry
metadata even if there is overlap with the
base standard.
Returns the ExtraMeta
attached to the current object. Generally not something to be called directly.
Returns the DirectoryEntryHeader
attached to the current object. Generally not something to be called directly.
Returns true if this directory has been relocated elsewhere to circumvent ISO 9660’s limits
on directory depth.
Rock Ridge Interchange Protocol § 4.1.5
Returns the ISO 9660 “recording” timestamp.
ISO-9660 / ECMA-119 §§ 9.1.5
Returns the file owner’s user ID (st_uid
), if available.
- POSIX.1
- Rock Ridge Interchange Protocol § 4.1.1
Returns the file owner’s group ID (st_gid
), if available.
- POSIX.1
- Rock Ridge Interchange Protocol § 4.1.1
Returns the file protection mode / Unix permissions (a.k.a. st_mode
), if available.
POSIX.1
Returns the last time the file contents were accessed (st_atime
), if available. If there
is no access time available, the value of time()
is returned.
- POSIX.1
- Rock Ridge Interchange Protocol § 4.1.6
Returns the last time the attributes were changed (st_ctime
), if available. If
there is no ctime available, the value of time()
is returned.
- POSIX.1
- Rock Ridge Interchange Protocol § 4.1.6
Returns the last backup time, if available. If there is no backup time available, the value
of time()
is returned.
- Rock Ridge Interchange Protocol § 4.1.6
Returns the creation time, if available. If there is no creation time available, the value
of time()
is returned.
- ISO 9660 / ECMA-119 § 9.5.4
- Rock Ridge Interchange Protocol § 4.1.6
Returns the effective time, if available. If there is no expiration time available, the value
of time()
is returned.
- ISO 9660 / ECMA-119 § 9.5.7
- Rock Ridge Interchange Protocol § 4.1.6
Returns the expiration time, if available. If there is no expiration time available, the value
of time()
is returned.
- ISO 9660 / ECMA-119 § 9.5.6
- Rock Ridge Interchange Protocol § 4.1.6
Returns the last modification time (st_mtime
), if available. If there is no modification
time available, the value of time()
is returned.
- POSIX.1
- ISO 9660 / ECMA-119 § 9.5.5
- Rock Ridge Interchange Protocol § 4.1.6
Returns the serial number (a.k.a. inode), if available.
- ISO-9660 / ECMA-119 §§ 12.3.5
- Rock Ridge Interchange Protocol § 4.1.1