pub struct MINIDUMP_UTF8_STRING {
pub length: u32,
pub buffer: Vec<u8>,
}
Expand description
A variable-length UTF-8-encoded string carried within a minidump file.
See https://crashpad.chromium.org/doxygen/structcrashpad_1_1MinidumpUTF8String.html
Fields§
§length: u32
The length of the #Buffer field in bytes, not including the NUL
terminator.
This field is interpreted as a byte count, not a count of Unicode code points.
buffer: Vec<u8>
The string, encoded in UTF-8, and terminated with a NUL
byte.
Trait Implementations§
source§impl Clone for MINIDUMP_UTF8_STRING
impl Clone for MINIDUMP_UTF8_STRING
source§fn clone(&self) -> MINIDUMP_UTF8_STRING
fn clone(&self) -> MINIDUMP_UTF8_STRING
Returns a copy 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 Debug for MINIDUMP_UTF8_STRING
impl Debug for MINIDUMP_UTF8_STRING
source§impl<'a> TryFromCtx<'a, Endian> for MINIDUMP_UTF8_STRING
impl<'a> TryFromCtx<'a, Endian> for MINIDUMP_UTF8_STRING
type Error = Error
fn try_from_ctx( src: &[u8], endian: Endian ) -> Result<(MINIDUMP_UTF8_STRING, usize), <MINIDUMP_UTF8_STRING as TryFromCtx<'a, Endian>>::Error>
Auto Trait Implementations§
impl Freeze for MINIDUMP_UTF8_STRING
impl RefUnwindSafe for MINIDUMP_UTF8_STRING
impl Send for MINIDUMP_UTF8_STRING
impl Sync for MINIDUMP_UTF8_STRING
impl Unpin for MINIDUMP_UTF8_STRING
impl UnwindSafe for MINIDUMP_UTF8_STRING
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