pub struct PromiseRejectState {
pub unhandled: HashMap<i32, ExecutionError>,
/* private fields */
}Fields§
§unhandled: HashMap<i32, ExecutionError>Implementations§
Source§impl PromiseRejectState
impl PromiseRejectState
pub fn take_next_unhandled(&mut self) -> Option<ExecutionError>
Trait Implementations§
Source§impl Default for PromiseRejectState
impl Default for PromiseRejectState
Source§fn default() -> PromiseRejectState
fn default() -> PromiseRejectState
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PromiseRejectState
impl RefUnwindSafe for PromiseRejectState
impl Send for PromiseRejectState
impl Sync for PromiseRejectState
impl Unpin for PromiseRejectState
impl UnsafeUnpin for PromiseRejectState
impl UnwindSafe for PromiseRejectState
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