Struct chrome_remote_interface_model::runtime::ConsoleApiCalledEventBuilder [−][src]
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]
fn clone(&self) -> ConsoleApiCalledEventBuilder
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ConsoleApiCalledEventBuilder
[src]
impl Default for ConsoleApiCalledEventBuilder
[src]
Auto Trait Implementations
impl RefUnwindSafe for ConsoleApiCalledEventBuilder
[src]
impl Send for ConsoleApiCalledEventBuilder
[src]
impl Sync for ConsoleApiCalledEventBuilder
[src]
impl Unpin for ConsoleApiCalledEventBuilder
[src]
impl UnwindSafe for ConsoleApiCalledEventBuilder
[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> 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>,