pub struct OpState {
pub resource_table: ResourceTable,
pub get_error_class_fn: GetErrorClassFn,
pub tracker: OpsTracker,
pub last_fast_op_error: Option<AnyError>,
/* private fields */
}
Expand description
Maintains the resources and ops inside a JS runtime.
Fields
resource_table: ResourceTable
get_error_class_fn: GetErrorClassFn
tracker: OpsTracker
last_fast_op_error: Option<AnyError>
Implementations
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for OpState
impl !Send for OpState
impl !Sync for OpState
impl Unpin for OpState
impl !UnwindSafe for OpState
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more