Struct rustun::client::BaseClient [] [src]

pub struct BaseClient<T> { /* fields omitted */ }

A Client trait implementation which can be used as base of other implementations.

This uses T as the message transport layer.

Methods

impl<T> BaseClient<T> where
    T: Transport + Send + 'static, 
[src]

Makes a new BaseClient instance which communicates with server.

Sets the timeout duration of a request transaction.

The default value is DEFAULT_TIMEOUT_MS.

Trait Implementations

impl<T: Debug> Debug for BaseClient<T>
[src]

Formats the value using the given formatter.

impl<T: Transport> Client for BaseClient<T>
[src]

Future type to handle a request/response transaction using RawMessage.

Future type to handle a indication transaction using RawMessage.

Makes a Future that sends the raw request message to a server and waits the response from it. Read more

Makes a Future that sends the raw indication message to a server.

Makes a Future that sends the request message to a server and waits the response from it. Read more

Makes a Future that sends the indication message to a server.