pub struct ErasedCaller { /* private fields */ }Expand description
Type-erased Caller wrapper used by generated clients.
Implementations§
Trait Implementations§
Source§impl Caller for ErasedCaller
impl Caller for ErasedCaller
Source§fn call<'a>(
&'a self,
call: RequestCall<'a>,
) -> impl Future<Output = Result<SelfRef<RequestResponse<'static>>, RoamError>> + MaybeSend + 'a
fn call<'a>( &'a self, call: RequestCall<'a>, ) -> impl Future<Output = Result<SelfRef<RequestResponse<'static>>, RoamError>> + MaybeSend + 'a
Send a call and wait for the response.
Source§fn channel_binder(&self) -> Option<&dyn ChannelBinder>
fn channel_binder(&self) -> Option<&dyn ChannelBinder>
Return a channel binder for binding Tx/Rx handles in args before sending. Read more
Source§impl Clone for ErasedCaller
impl Clone for ErasedCaller
Source§fn clone(&self) -> ErasedCaller
fn clone(&self) -> ErasedCaller
Returns a duplicate 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 ErasedCaller
impl !RefUnwindSafe for ErasedCaller
impl Send for ErasedCaller
impl Sync for ErasedCaller
impl Unpin for ErasedCaller
impl UnsafeUnpin for ErasedCaller
impl !UnwindSafe for ErasedCaller
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