Struct tarpc::rpc::client::NewClient [−][src]
A channel and dispatch pair. The dispatch drives the sending and receiving of requests and must be polled continuously or spawned.
Fields
client: C
The new client.
dispatch: D
The client’s dispatch.
Implementations
impl<C, D, E> NewClient<C, D> where
D: Future<Output = Result<(), E>> + Send + 'static,
E: Display,
[src]
D: Future<Output = Result<(), E>> + Send + 'static,
E: Display,
Trait Implementations
Auto Trait Implementations
impl<C, D> RefUnwindSafe for NewClient<C, D> where
C: RefUnwindSafe,
D: RefUnwindSafe,
C: RefUnwindSafe,
D: RefUnwindSafe,
impl<C, D> Send for NewClient<C, D> where
C: Send,
D: Send,
C: Send,
D: Send,
impl<C, D> Sync for NewClient<C, D> where
C: Sync,
D: Sync,
C: Sync,
D: Sync,
impl<C, D> Unpin for NewClient<C, D> where
C: Unpin,
D: Unpin,
C: Unpin,
D: Unpin,
impl<C, D> UnwindSafe for NewClient<C, D> where
C: UnwindSafe,
D: UnwindSafe,
C: UnwindSafe,
D: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
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.
pub 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.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
[src]
V: MultiLane<T>,