pub struct AwaitPromiseResponse {
pub result: RemoteObject,
pub exception_details: Option<ExceptionDetails>,
}Fields§
§result: RemoteObjectPromise result. Will contain rejected value if promise was rejected.
exception_details: Option<ExceptionDetails>Exception details if stack strace is available.
Trait Implementations§
Source§impl Clone for AwaitPromiseResponse
impl Clone for AwaitPromiseResponse
Source§fn clone(&self) -> AwaitPromiseResponse
fn clone(&self) -> AwaitPromiseResponse
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AwaitPromiseResponse
impl Debug for AwaitPromiseResponse
Source§impl<'de> Deserialize<'de> for AwaitPromiseResponse
impl<'de> Deserialize<'de> for AwaitPromiseResponse
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for AwaitPromiseResponse
impl RefUnwindSafe for AwaitPromiseResponse
impl Send for AwaitPromiseResponse
impl Sync for AwaitPromiseResponse
impl Unpin for AwaitPromiseResponse
impl UnsafeUnpin for AwaitPromiseResponse
impl UnwindSafe for AwaitPromiseResponse
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more