pub struct DumpString { /* private fields */ }
Expand description
An MINIDUMP_STRING
, a UTF-16 string preceded by a 4-byte length.
Implementations§
Source§impl DumpString
impl DumpString
Sourcepub fn new(s: &str, endian: Endian) -> DumpString
pub fn new(s: &str, endian: Endian) -> DumpString
Create a new DumpString
with s
as its contents, using endian
endianness.
Trait Implementations§
Source§impl DumpSection for DumpString
impl DumpSection for DumpString
Source§impl From<DumpString> for Section
impl From<DumpString> for Section
Source§fn from(string: DumpString) -> Self
fn from(string: DumpString) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DumpString
impl !RefUnwindSafe for DumpString
impl !Send for DumpString
impl !Sync for DumpString
impl Unpin for DumpString
impl !UnwindSafe for DumpString
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> CiteLocation for Twhere
T: DumpSection,
impl<T> CiteLocation for Twhere
T: DumpSection,
Source§fn cite_location_in(&self, section: Section) -> Section
fn cite_location_in(&self, section: Section) -> Section
Append an
MINIDUMP_LOCATION_DESCRIPTOR
to section
referring to this section.