[]Struct golem_rpc_api::rpc::wamp::RpcCallRequest

pub struct RpcCallRequest { /* fields omitted */ }

Methods

impl RpcCallRequest

pub fn with_va_args<T, impl Into>>(
    uri: impl Into>,
    va_args: &Vec<T>
) -> Result<RpcCallRequest, Error> where
    T: Serialize,
    impl Into>: Into<Cow<'static, str>>, 

pub fn with_no_args(uri: &'static str) -> RpcCallRequest

pub fn with_args<impl crate::args::ToArgs>(
    uri: &'static str,
    args: &impl crate::args::ToArgs
) -> Result<RpcCallRequest, Error> where
    impl crate::args::ToArgs: ToArgs

pub fn with_kwargs(self, kw_args: Value) -> RpcCallRequest

Adds named arguments.

Panics if kw_args is not valid json object.

Trait Implementations

impl Debug for RpcCallRequest

impl Message for RpcCallRequest

type Result = Result<RpcCallResponse, Error>

The type of value that this message will resolved with if it is successful. Read more

Auto Trait Implementations

impl Send for RpcCallRequest

impl Sync for RpcCallRequest

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