pub struct RemoteCallBundle<TRequest: Clone + 'static, TResponse: Clone + 'static> {
pub responses: Node<RemoteCallResponse<TResponse>>,
pub results: Node<RemoteCallResult<TResponse>>,
pub status: Node<RemoteCallStatus>,
pub errors: Node<RemoteCallError>,
pub timeouts: Node<RemoteCallTimeout>,
/* private fields */
}Expand description
RemoteCallBundle data container.
Fields§
§responses: Node<RemoteCallResponse<TResponse>>responses field for responses.
results: Node<RemoteCallResult<TResponse>>results field for results.
status: Node<RemoteCallStatus>status field for status.
errors: Node<RemoteCallError>errors field for errors.
timeouts: Node<RemoteCallTimeout>timeouts field for timeouts.
Implementations§
Source§impl<TRequest: Clone + 'static, TResponse: Clone + 'static> RemoteCallBundle<TRequest, TResponse>
impl<TRequest: Clone + 'static, TResponse: Clone + 'static> RemoteCallBundle<TRequest, TResponse>
Sourcepub fn call(
&self,
operation: impl Into<String>,
request_id: impl Into<String>,
payload: TRequest,
) -> RemoteCallRequest<TRequest>
pub fn call( &self, operation: impl Into<String>, request_id: impl Into<String>, payload: TRequest, ) -> RemoteCallRequest<TRequest>
Updates or reads call.
Sourcepub fn call_with_options(
&self,
operation: impl Into<String>,
request_id: impl Into<String>,
payload: TRequest,
idempotency_key: Option<String>,
) -> RemoteCallRequest<TRequest>
pub fn call_with_options( &self, operation: impl Into<String>, request_id: impl Into<String>, payload: TRequest, idempotency_key: Option<String>, ) -> RemoteCallRequest<TRequest>
Updates or reads call_with_options.
Auto Trait Implementations§
impl<TRequest, TResponse> Freeze for RemoteCallBundle<TRequest, TResponse>
impl<TRequest, TResponse> !RefUnwindSafe for RemoteCallBundle<TRequest, TResponse>
impl<TRequest, TResponse> !Send for RemoteCallBundle<TRequest, TResponse>
impl<TRequest, TResponse> !Sync for RemoteCallBundle<TRequest, TResponse>
impl<TRequest, TResponse> Unpin for RemoteCallBundle<TRequest, TResponse>
impl<TRequest, TResponse> UnsafeUnpin for RemoteCallBundle<TRequest, TResponse>
impl<TRequest, TResponse> !UnwindSafe for RemoteCallBundle<TRequest, TResponse>
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