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

Promise result. Will contain rejected value if promise was rejected.

Exception details if stack strace is available.

Trait Implementations

impl<'a> Clone for AwaitPromiseResponse<'a>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<'a> Debug for AwaitPromiseResponse<'a>
[src]

[src]

Formats the value using the given formatter.

impl<'a> PartialEq for AwaitPromiseResponse<'a>
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl<'a> CdpCommand for AwaitPromiseResponse<'a>
[src]

COMMAND_NAME: &'static str = "Runtime.awaitPromise"

impl<'a, 'b> HasCdpCommand<'a> for AwaitPromiseResponse<'b>
[src]