pub struct ClientService<T, P>where
T: 'static,
P: ClientProto<T>,{ /* private fields */ }
Expand description
Client Service
for simple pipeline protocols
Trait Implementations§
Source§impl<T, P> Clone for ClientService<T, P>where
T: 'static,
P: ClientProto<T>,
impl<T, P> Clone for ClientService<T, P>where
T: 'static,
P: ClientProto<T>,
Source§impl<T, P> Debug for ClientService<T, P>
impl<T, P> Debug for ClientService<T, P>
Source§impl<T, P> Service for ClientService<T, P>where
T: 'static,
P: ClientProto<T>,
impl<T, P> Service for ClientService<T, P>where
T: 'static,
P: ClientProto<T>,
Source§type Request = <P as ClientProto<T>>::Request
type Request = <P as ClientProto<T>>::Request
Requests handled by the service.
Source§type Response = <P as ClientProto<T>>::Response
type Response = <P as ClientProto<T>>::Response
Responses given by the service.
Auto Trait Implementations§
impl<T, P> !Freeze for ClientService<T, P>
impl<T, P> !RefUnwindSafe for ClientService<T, P>
impl<T, P> Send for ClientService<T, P>
impl<T, P> !Sync for ClientService<T, P>
impl<T, P> Unpin for ClientService<T, P>
impl<T, P> !UnwindSafe for ClientService<T, P>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)