[][src]Struct golem_rpc_api::rpc::Invoker

pub struct Invoker<'a, Inner: RpcEndpoint + ?Sized>(_);

Methods

impl<'a, Inner: RpcEndpoint + ?Sized> Invoker<'a, Inner>[src]

pub fn rpc_call<'args, Args: ToArgs + 'args, Ret: DeserializeOwned + 'static>(
    &self,
    uri: &'static str,
    args: &Args
) -> impl Future<Item = Ret, Error = Error> + 'static
[src]

pub fn rpc_va_call<T: Serialize, Ret: DeserializeOwned + 'static>(
    &self,
    uri: impl Into<Cow<'static, str>>,
    va_args: &Vec<T>
) -> impl Future<Item = Ret, Error = Error> + 'static
[src]

Auto Trait Implementations

impl<'a, Inner: ?Sized> Send for Invoker<'a, Inner> where
    Inner: Sync

impl<'a, Inner: ?Sized> Sync for Invoker<'a, Inner> where
    Inner: Sync

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Erased for T

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> Same<T> for T

type Output = T

Should always be Self