Struct cdp::runtime::AwaitPromiseResponse
[−]
[src]
pub struct AwaitPromiseResponse<'a> { pub result: RemoteObject<'a>, pub exception_details: Option<ExceptionDetails<'a>>, }
Add handler to promise with given promise object id.
Command Runtime.awaitPromise
Domain Module: cdp::runtime
Command Struct: cdp::runtime::AwaitPromiseCommand
Response Struct: cdp::runtime::AwaitPromiseResponse
Fields
result: RemoteObject<'a>
Promise result. Will contain rejected value if promise was rejected.
exception_details: Option<ExceptionDetails<'a>>
Exception details if stack strace is available.
Trait Implementations
impl<'a> Clone for AwaitPromiseResponse<'a>
[src]
fn clone(&self) -> AwaitPromiseResponse<'a>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<'a> Debug for AwaitPromiseResponse<'a>
[src]
impl<'a> PartialEq for AwaitPromiseResponse<'a>
[src]
fn eq(&self, __arg_0: &AwaitPromiseResponse<'a>) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &AwaitPromiseResponse<'a>) -> bool
[src]
This method tests for !=
.
impl<'a> CdpCommand for AwaitPromiseResponse<'a>
[src]
const COMMAND_NAME: &'static str
COMMAND_NAME: &'static str = "Runtime.awaitPromise"