pub struct Frame {Show 22 fields
pub post_context: Vec<String>,
pub pre_context: Vec<String>,
pub has_abs_path: Option<HasAbsPath>,
pub has_addr_mode: Option<HasAddrMode>,
pub has_colno: Option<HasColno>,
pub has_context_line: Option<HasContextLine>,
pub has_filename: Option<HasFilename>,
pub has_function: Option<HasFunction>,
pub has_function_id: Option<HasFunctionId>,
pub has_image_addr: Option<HasImageAddr>,
pub has_in_app: Option<HasInApp>,
pub has_instruction_addr: Option<HasInstructionAddr>,
pub has_lineno: Option<HasLineno>,
pub has_lock: Option<HasLock>,
pub has_module: Option<HasModule>,
pub has_package: Option<HasPackage>,
pub has_platform: Option<HasPlatform>,
pub has_raw_function: Option<HasRawFunction>,
pub has_stack_start: Option<HasStackStart>,
pub has_symbol: Option<HasSymbol>,
pub has_symbol_addr: Option<HasSymbolAddr>,
pub has_vars: Option<HasVars>,
}Expand description
Holds information about a single stacktrace frame.
Each object should contain at least a filename, function or instruction_addr
attribute. All values are optional, but recommended.
Fields§
§post_context: Vec<String>§pre_context: Vec<String>§has_abs_path: Option<HasAbsPath>§has_addr_mode: Option<HasAddrMode>§has_colno: Option<HasColno>§has_context_line: Option<HasContextLine>§has_filename: Option<HasFilename>§has_function: Option<HasFunction>§has_function_id: Option<HasFunctionId>§has_image_addr: Option<HasImageAddr>§has_in_app: Option<HasInApp>§has_instruction_addr: Option<HasInstructionAddr>§has_lineno: Option<HasLineno>§has_lock: Option<HasLock>§has_module: Option<HasModule>§has_package: Option<HasPackage>§has_platform: Option<HasPlatform>§has_raw_function: Option<HasRawFunction>§has_stack_start: Option<HasStackStart>§has_symbol: Option<HasSymbol>§has_symbol_addr: Option<HasSymbolAddr>§has_vars: Option<HasVars>Trait Implementations§
Source§impl Message for Frame
impl Message for Frame
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.impl StructuralPartialEq for Frame
Auto Trait Implementations§
impl Freeze for Frame
impl RefUnwindSafe for Frame
impl Send for Frame
impl Sync for Frame
impl Unpin for Frame
impl UnwindSafe for Frame
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request