pub struct Symlink {
pub identifier: String,
pub version: u16,
/* private fields */
}
Expand description
DirectoryEntry
for symbolic links. Typically generated from SL
entries.
§See Also
- ISO-9660 / ECMA-119 § 9
- Rock Ridge Interchange Protocol § 4.1.3
Fields§
§identifier: String
The name encoded with UTF-8.
version: u16
File version; ranges from 1 to 32767
Implementations§
Trait Implementations§
Source§impl ExtraAttributes for Symlink
impl ExtraAttributes for Symlink
Source§fn ext(&self) -> &ExtraMeta
fn ext(&self) -> &ExtraMeta
Returns the
ExtraMeta
attached to the current object. Generally not something to be called directly.Source§fn header(&self) -> &DirectoryEntryHeader
fn header(&self) -> &DirectoryEntryHeader
Returns the
DirectoryEntryHeader
attached to the current object. Generally not something to be called directly.Source§fn relocated(&self) -> bool
fn relocated(&self) -> bool
Returns true if this directory has been relocated elsewhere to circumvent ISO 9660’s limits
on directory depth. Read more
Source§fn time(&self) -> OffsetDateTime
fn time(&self) -> OffsetDateTime
Returns the ISO 9660 “recording” timestamp. Read more
Source§fn owner(&self) -> Option<u32>
fn owner(&self) -> Option<u32>
Returns the file owner’s user ID (
st_uid
), if available. Read moreSource§fn group(&self) -> Option<u32>
fn group(&self) -> Option<u32>
Returns the file owner’s group ID (
st_gid
), if available. Read moreSource§fn mode(&self) -> Option<PosixFileMode>
fn mode(&self) -> Option<PosixFileMode>
Returns the file protection mode / Unix permissions (a.k.a.
st_mode
), if available. Read moreSource§fn access_time(&self) -> OffsetDateTime
fn access_time(&self) -> OffsetDateTime
Source§fn attribute_change_time(&self) -> OffsetDateTime
fn attribute_change_time(&self) -> OffsetDateTime
Source§fn backup_time(&self) -> OffsetDateTime
fn backup_time(&self) -> OffsetDateTime
Source§fn create_time(&self) -> OffsetDateTime
fn create_time(&self) -> OffsetDateTime
Source§fn effective_time(&self) -> OffsetDateTime
fn effective_time(&self) -> OffsetDateTime
Source§fn expire_time(&self) -> OffsetDateTime
fn expire_time(&self) -> OffsetDateTime
Source§fn modify_time(&self) -> OffsetDateTime
fn modify_time(&self) -> OffsetDateTime
Auto Trait Implementations§
impl Freeze for Symlink
impl RefUnwindSafe for Symlink
impl Send for Symlink
impl Sync for Symlink
impl Unpin for Symlink
impl UnwindSafe for Symlink
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more