pub enum UnwindErrorField {
UnwindError(String),
UnwindErrorIid(u64),
}Expand description
Set if stack unwinding was incomplete; describes the data, not producer
internal state. Give it inline via unwind_error or reference an interned
string via unwind_error_iid.
TODO(lalitm): not yet parsed by trace_processor. Defined now to lock the wire layout; a table column will surface it later.
Variants§
UnwindError(String)
Inline unwind error string.
UnwindErrorIid(u64)
Interned unwind error string, referencing an InternedData string entry.
Implementations§
Source§impl UnwindErrorField
impl UnwindErrorField
Sourcepub fn merge(
field: &mut Option<UnwindErrorField>,
tag: u32,
wire_type: WireType,
buf: &mut impl Buf,
ctx: DecodeContext,
) -> Result<(), DecodeError>
pub fn merge( field: &mut Option<UnwindErrorField>, tag: u32, wire_type: WireType, buf: &mut impl Buf, ctx: DecodeContext, ) -> Result<(), DecodeError>
Decodes an instance of the message from a buffer, and merges it into self.
Sourcepub fn encoded_len(&self) -> usize
pub fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
Trait Implementations§
Source§impl Clone for UnwindErrorField
impl Clone for UnwindErrorField
Source§fn clone(&self) -> UnwindErrorField
fn clone(&self) -> UnwindErrorField
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 UnwindErrorField
impl Debug for UnwindErrorField
impl Eq for UnwindErrorField
Source§impl Hash for UnwindErrorField
impl Hash for UnwindErrorField
Source§impl PartialEq for UnwindErrorField
impl PartialEq for UnwindErrorField
Source§fn eq(&self, other: &UnwindErrorField) -> bool
fn eq(&self, other: &UnwindErrorField) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for UnwindErrorField
Auto Trait Implementations§
impl Freeze for UnwindErrorField
impl RefUnwindSafe for UnwindErrorField
impl Send for UnwindErrorField
impl Sync for UnwindErrorField
impl Unpin for UnwindErrorField
impl UnsafeUnpin for UnwindErrorField
impl UnwindSafe for UnwindErrorField
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