Struct minidump::format::MINIDUMP_UTF8_STRING [−][src]
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, Global>
The string, encoded in UTF-8, and terminated with a NUL
byte.
Trait Implementations
impl Clone for MINIDUMP_UTF8_STRING
[src]
impl Clone for MINIDUMP_UTF8_STRING
[src]pub fn clone(&self) -> MINIDUMP_UTF8_STRING
[src]
pub fn clone(&self) -> MINIDUMP_UTF8_STRING
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl Debug for MINIDUMP_UTF8_STRING
[src]
impl Debug for MINIDUMP_UTF8_STRING
[src]impl<'a> TryFromCtx<'a, Endian, [u8]> for MINIDUMP_UTF8_STRING
[src]
impl<'a> TryFromCtx<'a, Endian, [u8]> for MINIDUMP_UTF8_STRING
[src]type Error = Error
pub fn try_from_ctx(
src: &[u8],
endian: Endian
) -> Result<(MINIDUMP_UTF8_STRING, usize), <MINIDUMP_UTF8_STRING as TryFromCtx<'a, Endian, [u8]>>::Error>
[src]
src: &[u8],
endian: Endian
) -> Result<(MINIDUMP_UTF8_STRING, usize), <MINIDUMP_UTF8_STRING as TryFromCtx<'a, Endian, [u8]>>::Error>
Auto Trait Implementations
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
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more