pub struct MockWrapper;
Trait Implementations§
Source§impl Debug for MockWrapper
impl Debug for MockWrapper
Source§impl Wrapper for MockWrapper
impl Wrapper for MockWrapper
Source§fn invoke(
&self,
method: &str,
_: Option<&[u8]>,
_: Option<&[u8]>,
_: Arc<dyn Invoker>,
) -> Result<Vec<u8>, Error>
fn invoke( &self, method: &str, _: Option<&[u8]>, _: Option<&[u8]>, _: Arc<dyn Invoker>, ) -> Result<Vec<u8>, Error>
The
invoke
method is used to invoke the object with a method, arguments, environment, and invoker.
It returns a Result containing a msgpack buffer on success, or an Error on failure. Read moreAuto Trait Implementations§
impl Freeze for MockWrapper
impl RefUnwindSafe for MockWrapper
impl Send for MockWrapper
impl Sync for MockWrapper
impl Unpin for MockWrapper
impl UnwindSafe for MockWrapper
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