pub struct AwaitPromiseReturns {
pub result: RemoteObject,
pub exceptionDetails: Option<ExceptionDetails>,
}Expand description
Add handler to promise with given promise object id.
Fields§
§result: RemoteObjectPromise result. Will contain rejected value if promise was rejected.
exceptionDetails: Option<ExceptionDetails>Exception details if stack strace is available.
Trait Implementations§
Source§impl Clone for AwaitPromiseReturns
impl Clone for AwaitPromiseReturns
Source§fn clone(&self) -> AwaitPromiseReturns
fn clone(&self) -> AwaitPromiseReturns
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 AwaitPromiseReturns
impl Debug for AwaitPromiseReturns
Source§impl Default for AwaitPromiseReturns
impl Default for AwaitPromiseReturns
Source§fn default() -> AwaitPromiseReturns
fn default() -> AwaitPromiseReturns
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AwaitPromiseReturns
impl<'de> Deserialize<'de> for AwaitPromiseReturns
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 AwaitPromiseReturns
impl RefUnwindSafe for AwaitPromiseReturns
impl Send for AwaitPromiseReturns
impl Sync for AwaitPromiseReturns
impl Unpin for AwaitPromiseReturns
impl UnsafeUnpin for AwaitPromiseReturns
impl UnwindSafe for AwaitPromiseReturns
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