Struct chrome_remote_interface_model::runtime::ConsoleApiCalledEvent[][src]

pub struct ConsoleApiCalledEvent { /* fields omitted */ }
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]

Notable traits for &'_ [u8]

impl<'_> Read for &'_ [u8]impl<'_> Write for &'_ mut [u8]
[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]

impl Debug for ConsoleApiCalledEvent[src]

impl<'de> Deserialize<'de> for ConsoleApiCalledEvent[src]

impl Serialize for ConsoleApiCalledEvent[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.