[][src]Struct rosrust::Client

pub struct Client<T: ServicePair> { /* fields omitted */ }

Methods

impl<T: ServicePair> Client<T>[src]

pub fn new(caller_id: &str, uri: &str, service: &str) -> Client<T>[src]

pub fn req(&self, args: &T::Request) -> Result<Result<T::Response, String>>[src]

pub fn req_async(&self, args: T::Request) -> ClientResponse<T::Response>[src]

Trait Implementations

impl<T: Clone + ServicePair> Clone for Client<T>[src]

Auto Trait Implementations

impl<T> Send for Client<T>

impl<T> Sync for Client<T>

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

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

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

Blanket Implementations

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

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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> 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<T> Typeable for T where
    T: Any