#[repr(C)]pub struct BomBlockPathRecord<'a> {
pub path_type: u8,
pub a: u8,
pub architecture: u16,
pub mode: u16,
pub user: u32,
pub group: u32,
pub mtime: u32,
pub size: u32,
pub b: u8,
pub checksum_or_type: u32,
pub link_name_length: u32,
pub link_name: Option<Cow<'a, CStr>>,
}Expand description
Block type defining low-level path information.
This is where most of the metadata defining a BOM path lives.
Fields§
§path_type: u8The type of the path.
See crate::BomPathType for definitions.
a: u8Unknown.
architecture: u16File architecture.
Probably corresponds to value in Mach-O header.
mode: u16File mode.
user: u32UID of owner.
group: u32GID of owner.
mtime: u32Modified time in seconds since UNIX epoch.
size: u32Size in bytes.
b: u8Unknown.
checksum_or_type: u32CRC32 checksum or device type.
link_name_length: u32Length of link name.
May be non-0 for non-link path records.
Includes NULL terminator.
link_name: Option<Cow<'a, CStr>>Link path name.
Implementations§
Trait Implementations§
Source§impl<'a> Clone for BomBlockPathRecord<'a>
impl<'a> Clone for BomBlockPathRecord<'a>
Source§fn clone(&self) -> BomBlockPathRecord<'a>
fn clone(&self) -> BomBlockPathRecord<'a>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Debug for BomBlockPathRecord<'a>
impl<'a> Debug for BomBlockPathRecord<'a>
Source§impl<'a> Default for BomBlockPathRecord<'a>
impl<'a> Default for BomBlockPathRecord<'a>
Source§fn default() -> BomBlockPathRecord<'a>
fn default() -> BomBlockPathRecord<'a>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'a> Freeze for BomBlockPathRecord<'a>
impl<'a> RefUnwindSafe for BomBlockPathRecord<'a>
impl<'a> Send for BomBlockPathRecord<'a>
impl<'a> Sync for BomBlockPathRecord<'a>
impl<'a> Unpin for BomBlockPathRecord<'a>
impl<'a> UnwindSafe for BomBlockPathRecord<'a>
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