pub trait FileAux: Debug + Pod {
// Required methods
fn x_fname(&self) -> &[u8; 8];
fn x_ftype(&self) -> u8;
fn x_auxtype(&self) -> Option<u8>;
// Provided methods
fn name_offset(&self) -> Option<u32> { ... }
fn fname<'data, R: ReadRef<'data>>(
&'data self,
strings: StringTable<'data, R>,
) -> Result<&'data [u8]> { ... }
}
Expand description
A trait for generic access to xcoff::FileAux32
and xcoff::FileAux64
.
Required Methods§
fn x_fname(&self) -> &[u8; 8]
fn x_ftype(&self) -> u8
fn x_auxtype(&self) -> Option<u8>
Provided Methods§
fn name_offset(&self) -> Option<u32>
Object Safety§
This trait is not object safe.