pub struct WriterOptions {
pub version: GsymVersion,
pub endian: Endian,
pub base_address: Option<u64>,
pub build_id: Vec<u8>,
}Expand description
Settings controlling deterministic GSYM encoding.
Version, byte order, base address, and build ID.
BuilderOptions holds these alongside the
model-level policy, and the GsymBuilder setters change the same values.
A None base address selects the lowest function address. build_id is
opaque and is stored as given; version 1 rejects more than 20 bytes with
Error::V1BuildIdTooLong.
Fields§
§version: GsymVersionOutput format version.
endian: EndianOutput byte order.
base_address: Option<u64>Explicit image base, or None to use the first function address.
build_id: Vec<u8>Opaque build identifier copied into the output header.
Trait Implementations§
Source§impl Clone for WriterOptions
impl Clone for WriterOptions
Source§fn clone(&self) -> WriterOptions
fn clone(&self) -> WriterOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for WriterOptions
impl Debug for WriterOptions
Source§impl Default for WriterOptions
impl Default for WriterOptions
impl Eq for WriterOptions
Source§impl PartialEq for WriterOptions
impl PartialEq for WriterOptions
impl StructuralPartialEq for WriterOptions
Auto Trait Implementations§
impl Freeze for WriterOptions
impl RefUnwindSafe for WriterOptions
impl Send for WriterOptions
impl Sync for WriterOptions
impl Unpin for WriterOptions
impl UnsafeUnpin for WriterOptions
impl UnwindSafe for WriterOptions
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