pub struct Job {
pub handler: Option<Value>,
pub arg: Value,
pub is_fulfill: bool,
pub result: Rc<RefCell<PromiseState>>,
}Expand description
マイクロタスク(then 反応の遅延実行単位)。
Fields§
§handler: Option<Value>実行するハンドラ(None なら値をそのまま伝播)。
arg: Value§is_fulfill: bool§result: Rc<RefCell<PromiseState>>Auto Trait Implementations§
impl !RefUnwindSafe for Job
impl !Send for Job
impl !Sync for Job
impl !UnwindSafe for Job
impl Freeze for Job
impl Unpin for Job
impl UnsafeUnpin for Job
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