[][src]Struct actix_wamp::RpcCallRequest

pub struct RpcCallRequest { /* fields omitted */ }

Methods

impl RpcCallRequest[src]

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

pub fn with_no_args(uri: &'static str) -> Self[src]

pub fn with_args(uri: &'static str, args: &impl ToArgs) -> Result<Self, Error>[src]

pub fn with_kwargs(self, kw_args: Value) -> Self[src]

Adds named arguments.

Panics if kw_args is not valid json object.

Trait Implementations

impl Debug for RpcCallRequest[src]

impl Message for RpcCallRequest[src]

type Result = Result<RpcCallResponse, Error>

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

Auto Trait Implementations

Blanket Implementations

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

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

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

type Error = !

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> Borrow<T> for T where
    T: ?Sized
[src]

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

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self