pub struct StackFrame {
pub module: String,
pub function: Option<String>,
pub line: Option<u32>,
pub column: Option<u32>,
}Expand description
スタックトレースの 1 段。
Fields§
§module: String配信しているアプリのファイル(例: assets/index-3f2a.js)。利用者のファイルの名前は入らない。
function: Option<String>関数の名前(wasm の中のコアの関数。例: modelith_core::edit::ops::rename)。縮めた JS の関数名は送らない。
line: Option<u32>行(取れないときは省く)。
column: Option<u32>列(取れないときは省く)。
Trait Implementations§
Source§impl Clone for StackFrame
impl Clone for StackFrame
Source§impl Debug for StackFrame
impl Debug for StackFrame
Source§impl<'de> Deserialize<'de> for StackFrame
impl<'de> Deserialize<'de> for StackFrame
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for StackFrame
Source§impl PartialEq for StackFrame
impl PartialEq for StackFrame
Source§impl Serialize for StackFrame
impl Serialize for StackFrame
impl StructuralPartialEq for StackFrame
Auto Trait Implementations§
impl Forget for StackFrame
impl Freeze for StackFrame
impl Move for StackFrame
impl RefUnwindSafe for StackFrame
impl Send for StackFrame
impl Sync for StackFrame
impl Unpin for StackFrame
impl UnsafeUnpin for StackFrame
impl UnwindSafe for StackFrame
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