[−][src]Struct rusty_v8::StackTrace
Representation of a JavaScript stack trace. The information collected is a snapshot of the execution stack and the information remains valid after execution continues.
Implementations
impl StackTrace
[src]
pub fn get_frame_count(&self) -> usize
[src]
Returns the number of StackFrames.
pub fn get_frame<'s>(
&self,
scope: &mut HandleScope<'s>,
index: usize
) -> Option<Local<'s, StackFrame>>
[src]
&self,
scope: &mut HandleScope<'s>,
index: usize
) -> Option<Local<'s, StackFrame>>
Returns a StackFrame at a particular index.
Methods from Deref<Target = Data>
pub fn get_hash(&self) -> int
[src]
Returns the V8 hash value for this value. The current implementation uses a hidden property to store the identity hash on some object types.
The return value will never be 0. Also, it is not guaranteed to be unique.
Trait Implementations
impl Deref for StackTrace
[src]
impl Eq for StackTrace
[src]
impl Hash for StackTrace
[src]
fn hash<H: Hasher>(&self, state: &mut H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl<'s> PartialEq<Data> for StackTrace
[src]
impl<'s> PartialEq<StackTrace> for Data
[src]
impl<'s> PartialEq<StackTrace> for StackTrace
[src]
Auto Trait Implementations
impl RefUnwindSafe for StackTrace
impl Send for StackTrace
impl Sync for StackTrace
impl Unpin for StackTrace
impl UnwindSafe for StackTrace
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,