pub struct PendingPromise {
pub id: PromiseId,
pub call_id: CallId,
pub dependencies: HashSet<PromiseId>,
pub resolved: bool,
pub result: Option<Value>,
}
Expand description
Represents a pending promise waiting for resolution
Fields§
§id: PromiseId
§call_id: CallId
§dependencies: HashSet<PromiseId>
§resolved: bool
§result: Option<Value>
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PendingPromise
impl RefUnwindSafe for PendingPromise
impl Send for PendingPromise
impl Sync for PendingPromise
impl Unpin for PendingPromise
impl UnwindSafe for PendingPromise
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