pub struct MethodInvoker { /* private fields */ }Implementations§
Source§impl MethodInvoker
impl MethodInvoker
Sourcepub fn call_method_cv<V: Into<Value>, F, T: TryFrom<Value, Error = E>, E: Into<TryFromError>>(
&self,
target_isolate: IsolateId,
method: &str,
args: V,
reply: F,
)
pub fn call_method_cv<V: Into<Value>, F, T: TryFrom<Value, Error = E>, E: Into<TryFromError>>( &self, target_isolate: IsolateId, method: &str, args: V, reply: F, )
Convenience call method that will attempt to convert the result to specified type.
pub fn call_method<V: Into<Value>, F>( &self, target_isolate: IsolateId, method: &str, args: V, reply: F, )
Trait Implementations§
Source§impl Clone for MethodInvoker
impl Clone for MethodInvoker
Source§fn clone(&self) -> MethodInvoker
fn clone(&self) -> MethodInvoker
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for MethodInvoker
impl RefUnwindSafe for MethodInvoker
impl Send for MethodInvoker
impl Sync for MethodInvoker
impl Unpin for MethodInvoker
impl UnwindSafe for MethodInvoker
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