pub struct StackFrameIndexProto {
pub file_names: Vec<String>,
pub function_names: Vec<String>,
pub file_locations: Vec<FileLocation>,
pub stack_frames: Vec<StackFrame>,
}Expand description
Serialization of stack frames index representations. Stack frames index presented in four flat arrays:
- File names array.
- Function names array.
- File location array.
- Frame array. All reference ids in sub-protos are 1-based positions of the entity in the flat array. Ids are 1-based to keep 0 value as representation of non-set property.
Fields§
§file_names: Vec<String>Flat index array of file names.
function_names: Vec<String>Flat index array of function names.
file_locations: Vec<FileLocation>Flat index array of file locations.
stack_frames: Vec<StackFrame>Flat index array of frames.
Trait Implementations§
Source§impl Clone for StackFrameIndexProto
impl Clone for StackFrameIndexProto
Source§fn clone(&self) -> StackFrameIndexProto
fn clone(&self) -> StackFrameIndexProto
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for StackFrameIndexProto
impl Debug for StackFrameIndexProto
Source§impl Default for StackFrameIndexProto
impl Default for StackFrameIndexProto
Source§impl Message for StackFrameIndexProto
impl Message for StackFrameIndexProto
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
Source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
Encodes the message to a buffer. Read more
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Encodes the message to a newly allocated buffer.
Source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
Encodes the message with a length-delimiter to a buffer. Read more
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Encodes the message with a length-delimiter to a newly allocated buffer.
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Decodes an instance of the message from a buffer. Read more
Source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Decodes a length-delimited instance of the message from the buffer.
Source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
Decodes an instance of the message from a buffer, and merges it into
self. Read moreSource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
Decodes a length-delimited instance of the message from buffer, and
merges it into
self.Source§impl PartialEq for StackFrameIndexProto
impl PartialEq for StackFrameIndexProto
impl StructuralPartialEq for StackFrameIndexProto
Auto Trait Implementations§
impl Freeze for StackFrameIndexProto
impl RefUnwindSafe for StackFrameIndexProto
impl Send for StackFrameIndexProto
impl Sync for StackFrameIndexProto
impl Unpin for StackFrameIndexProto
impl UnwindSafe for StackFrameIndexProto
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)