pub struct SyncCaller<'agent, Out>where
Out: for<'de> ArgumentDecoder<'de> + Send,{ /* private fields */ }Expand description
A synchronous call encapsulation.
Trait Implementations§
Source§impl<'agent, Out> Debug for SyncCaller<'agent, Out>
impl<'agent, Out> Debug for SyncCaller<'agent, Out>
Source§impl<'agent, Out> IntoFuture for SyncCaller<'agent, Out>
impl<'agent, Out> IntoFuture for SyncCaller<'agent, Out>
Source§type IntoFuture = Pin<Box<dyn Future<Output = Result<Out, AgentError>> + 'agent>>
type IntoFuture = Pin<Box<dyn Future<Output = Result<Out, AgentError>> + 'agent>>
Which kind of future are we turning this into?
Source§type Output = Result<Out, AgentError>
type Output = Result<Out, AgentError>
The output that the future will produce on completion.
Source§fn into_future(self) -> Self::IntoFuture
fn into_future(self) -> Self::IntoFuture
Creates a future from a value. Read more
Source§impl<'agent, Out> SyncCall for SyncCaller<'agent, Out>
impl<'agent, Out> SyncCall for SyncCaller<'agent, Out>
Auto Trait Implementations§
impl<'agent, Out> Freeze for SyncCaller<'agent, Out>
impl<'agent, Out> !RefUnwindSafe for SyncCaller<'agent, Out>
impl<'agent, Out> Send for SyncCaller<'agent, Out>
impl<'agent, Out> Sync for SyncCaller<'agent, Out>where
Out: Sync,
impl<'agent, Out> Unpin for SyncCaller<'agent, Out>where
Out: Unpin,
impl<'agent, Out> !UnwindSafe for SyncCaller<'agent, Out>
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