[]Struct pristine_typescript_openrpc_server_client::HelloWorldRPC

pub struct HelloWorldRPC<T: Transport> { /* fields omitted */ }

Methods

impl<T: Transport> HelloWorldRPC<T>

pub fn new(transport: T) -> Self

Creates a new RPC client backed by the given transport implementation.

pub fn hello(&mut self) -> RpcRequest<HelloResult, T::Future>

Auto Trait Implementations

impl<T> Send for HelloWorldRPC<T> where
    T: Send

impl<T> Unpin for HelloWorldRPC<T> where
    T: Unpin

impl<T> Sync for HelloWorldRPC<T> where
    T: Sync

impl<T> UnwindSafe for HelloWorldRPC<T> where
    T: UnwindSafe

impl<T> RefUnwindSafe for HelloWorldRPC<T> where
    T: RefUnwindSafe

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]