Struct ic_utils::call::SyncCaller
source · 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>
§type IntoFuture = Pin<Box<dyn Future<Output = Result<Out, AgentError>> + Send + 'agent>>
type IntoFuture = Pin<Box<dyn Future<Output = Result<Out, AgentError>> + Send + 'agent>>
Which kind of future are we turning this into?
§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