pub struct SessionServiceClient { /* private fields */ }
Implementations§
Source§impl SessionServiceClient
impl SessionServiceClient
pub fn new(channel: Channel) -> Self
pub fn session_run_opt( &self, req: &SessionRunRequest, opt: CallOption, ) -> Result<SessionRunResponse>
pub fn session_run(&self, req: &SessionRunRequest) -> Result<SessionRunResponse>
pub fn session_run_async_opt( &self, req: &SessionRunRequest, opt: CallOption, ) -> Result<ClientUnaryReceiver<SessionRunResponse>>
pub fn session_run_async( &self, req: &SessionRunRequest, ) -> Result<ClientUnaryReceiver<SessionRunResponse>>
pub fn spawn<F>(&self, f: F)
Trait Implementations§
Source§impl Clone for SessionServiceClient
impl Clone for SessionServiceClient
Source§fn clone(&self) -> SessionServiceClient
fn clone(&self) -> SessionServiceClient
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for SessionServiceClient
impl !RefUnwindSafe for SessionServiceClient
impl Send for SessionServiceClient
impl Sync for SessionServiceClient
impl Unpin for SessionServiceClient
impl !UnwindSafe for SessionServiceClient
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