[−]Struct golem_rpc_api::rpc::wamp::RpcCallRequest
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>>,
uri: impl Into
va_args: &Vec<T>
) -> Result<RpcCallRequest, Error> where
T: Serialize,
impl Into
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,
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]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Erased for T
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,
fn vzip(self) -> V
impl<T> Same<T> for T
type Output = T
Should always be Self