[−][src]Struct rusty_v8_m::scope::CallbackScope
A CallbackScope can be used to obtain a mutable Isolate reference within a callback that is called by V8 on the thread that already has a Locker on the stack.
Using a CallbackScope in any other situation is unsafe. Also note that CallbackScope should not be used for function and property accessor callbacks; use FunctionCallbackScope and PropertyCallbackScope instead.
A CallbackScope can be created from the following inputs:
Local<Context>
Local<Message>
Local<Object>
Local<Promise>
Local<SharedArrayBuffer>
&PromiseRejectMessage
Implementations
impl<'s> CallbackScope
[src]
impl<'s> CallbackScope<Escapable>
[src]
pub fn new_escapable<I>(input: I) -> Scope<'s, Self> where
Scope<'s, Self>: From<I>,
[src]
Scope<'s, Self>: From<I>,
Trait Implementations
impl<'s, X> ScopeDefinition<'s> for CallbackScope<X>
[src]
Auto Trait Implementations
impl<X> RefUnwindSafe for CallbackScope<X> where
X: RefUnwindSafe,
X: RefUnwindSafe,
impl<X = Contained> !Send for CallbackScope<X>
impl<X = Contained> !Sync for CallbackScope<X>
impl<X> Unpin for CallbackScope<X> where
X: Unpin,
X: Unpin,
impl<X> UnwindSafe for CallbackScope<X> where
X: UnwindSafe,
X: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,