Struct chrome_remote_interface_model::runtime::ConsoleApiCalledEventBuilder[][src]

pub struct ConsoleApiCalledEventBuilder { /* fields omitted */ }

Implementations

impl ConsoleApiCalledEventBuilder[src]

pub fn type(&mut self, v: ConsoleApiCalledEventType) -> &mut Self[src]

Type of the call.

pub fn args(&mut self, v: Vec<RemoteObject>) -> &mut Self[src]

Call arguments.

pub fn execution_context_id(&mut self, v: ExecutionContextId) -> &mut Self[src]

Identifier of the context where the call was made.

pub fn timestamp(&mut self, v: Timestamp) -> &mut Self[src]

Call timestamp.

pub fn stack_trace(&mut self, v: StackTrace) -> &mut Self[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(&mut self, v: String) -> &mut Self[src]

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.

pub fn build(&mut self) -> Result<ConsoleApiCalledEvent, &'static str>[src]

Trait Implementations

impl Clone for ConsoleApiCalledEventBuilder[src]

impl Debug for ConsoleApiCalledEventBuilder[src]

impl Default for ConsoleApiCalledEventBuilder[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> 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.