Struct chrome_remote_interface_model::runtime::ConsoleApiCalledEvent [−][src]
This is supported on crate feature
Runtime
only.Issued when console API was called.
Implementations
impl ConsoleApiCalledEvent
[src]
pub fn builder() -> ConsoleApiCalledEventBuilder
[src]
pub fn type(&self) -> &ConsoleApiCalledEventType
[src]
Type of the call.
pub fn args(&self) -> &[RemoteObject]ⓘ
[src]
Call arguments.
pub fn execution_context_id(&self) -> &ExecutionContextId
[src]
Identifier of the context where the call was made.
pub fn timestamp(&self) -> &Timestamp
[src]
Call timestamp.
pub fn stack_trace(&self) -> Option<&StackTrace>
[src]
Stack trace captured when the call was made. The async stack chain is automatically reported for
the following call types: assert
, error
, trace
, warning
. For other types the async call
chain can be retrieved using Debugger.getStackTrace
and stackTrace.parentId
field.
pub fn context(&self) -> Option<&String>
[src]
This is supported on crate feature
experimental
only.Console context descriptor for calls on non-default console context (not console.*): 'anonymous#unique-logger-id' for call on unnamed context, 'name#unique-logger-id' for call on named context.
Trait Implementations
impl Clone for ConsoleApiCalledEvent
[src]
fn clone(&self) -> ConsoleApiCalledEvent
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ConsoleApiCalledEvent
[src]
impl<'de> Deserialize<'de> for ConsoleApiCalledEvent
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Serialize for ConsoleApiCalledEvent
[src]
Auto Trait Implementations
impl RefUnwindSafe for ConsoleApiCalledEvent
[src]
impl Send for ConsoleApiCalledEvent
[src]
impl Sync for ConsoleApiCalledEvent
[src]
impl Unpin for ConsoleApiCalledEvent
[src]
impl UnwindSafe for ConsoleApiCalledEvent
[src]
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,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
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.
pub 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>,