pub struct AwaitPromiseResult {
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 AwaitPromiseResult
impl Clone for AwaitPromiseResult
Source§fn clone(&self) -> AwaitPromiseResult
fn clone(&self) -> AwaitPromiseResult
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 AwaitPromiseResult
impl Debug for AwaitPromiseResult
Source§impl<'de> Deserialize<'de> for AwaitPromiseResult
impl<'de> Deserialize<'de> for AwaitPromiseResult
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
Source§impl PartialEq for AwaitPromiseResult
impl PartialEq for AwaitPromiseResult
Source§impl Serialize for AwaitPromiseResult
impl Serialize for AwaitPromiseResult
Source§impl TryFrom<Value> for AwaitPromiseResult
impl TryFrom<Value> for AwaitPromiseResult
impl StructuralPartialEq for AwaitPromiseResult
Auto Trait Implementations§
impl Freeze for AwaitPromiseResult
impl RefUnwindSafe for AwaitPromiseResult
impl Send for AwaitPromiseResult
impl Sync for AwaitPromiseResult
impl Unpin for AwaitPromiseResult
impl UnsafeUnpin for AwaitPromiseResult
impl UnwindSafe for AwaitPromiseResult
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