pub struct RpcStubForward { /* private fields */ }Implementations§
Source§impl RpcStubForward
impl RpcStubForward
pub fn new(target: JsValue) -> Self
pub fn with_namespace(self, namespace: impl Into<String>) -> Self
pub fn with_metadata( self, key: impl Into<String>, value: impl Into<String>, ) -> Self
pub fn into_rpc<T: JsCast>(self) -> T
pub fn to_wire(&self) -> Result<JsValue>
pub fn from_wire(wire: JsValue) -> Result<Self>
Trait Implementations§
Source§impl Clone for RpcStubForward
impl Clone for RpcStubForward
Source§fn clone(&self) -> RpcStubForward
fn clone(&self) -> RpcStubForward
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 moreSource§impl Debug for RpcStubForward
impl Debug for RpcStubForward
Source§impl From<Fetcher> for RpcStubForward
impl From<Fetcher> for RpcStubForward
Auto Trait Implementations§
impl Freeze for RpcStubForward
impl RefUnwindSafe for RpcStubForward
impl Send for RpcStubForward
impl Sync for RpcStubForward
impl Unpin for RpcStubForward
impl UnsafeUnpin for RpcStubForward
impl UnwindSafe for RpcStubForward
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