Enum ic_agent::agent::CallResponse
source · pub enum CallResponse<Out> {
Response(Out),
Poll(RequestId),
}Expand description
The response from a request to the call endpoint.
Variants§
Response(Out)
The call completed, and the response is available.
Poll(RequestId)
The replica timed out the update call, and the request id should be used to poll for the response
using the Agent::wait method.
Trait Implementations§
source§impl<Out> Debug for CallResponse<Out>where
Out: Debug,
impl<Out> Debug for CallResponse<Out>where
Out: Debug,
source§impl<Out> PartialEq for CallResponse<Out>where
Out: PartialEq,
impl<Out> PartialEq for CallResponse<Out>where
Out: PartialEq,
source§fn eq(&self, other: &CallResponse<Out>) -> bool
fn eq(&self, other: &CallResponse<Out>) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl<Out> Eq for CallResponse<Out>where
Out: Eq,
impl<Out> StructuralPartialEq for CallResponse<Out>
Auto Trait Implementations§
impl<Out> Freeze for CallResponse<Out>where
Out: Freeze,
impl<Out> RefUnwindSafe for CallResponse<Out>where
Out: RefUnwindSafe,
impl<Out> Send for CallResponse<Out>where
Out: Send,
impl<Out> Sync for CallResponse<Out>where
Out: Sync,
impl<Out> Unpin for CallResponse<Out>where
Out: Unpin,
impl<Out> UnwindSafe for CallResponse<Out>where
Out: UnwindSafe,
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.