pub struct RemoteResponderHandlerDefinition<TRequest, TResponse> {
pub operation: String,
pub handle: RemoteResponderHandler<TRequest, TResponse>,
}Expand description
RemoteResponderHandlerDefinition data container.
Fields§
§operation: Stringoperation field for operation.
handle: RemoteResponderHandler<TRequest, TResponse>handle field for handle.
Trait Implementations§
Source§impl<TRequest: Clone, TResponse: Clone> Clone for RemoteResponderHandlerDefinition<TRequest, TResponse>
impl<TRequest: Clone, TResponse: Clone> Clone for RemoteResponderHandlerDefinition<TRequest, TResponse>
Source§fn clone(&self) -> RemoteResponderHandlerDefinition<TRequest, TResponse>
fn clone(&self) -> RemoteResponderHandlerDefinition<TRequest, TResponse>
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<TRequest, TResponse> Freeze for RemoteResponderHandlerDefinition<TRequest, TResponse>
impl<TRequest, TResponse> !RefUnwindSafe for RemoteResponderHandlerDefinition<TRequest, TResponse>
impl<TRequest, TResponse> !Send for RemoteResponderHandlerDefinition<TRequest, TResponse>
impl<TRequest, TResponse> !Sync for RemoteResponderHandlerDefinition<TRequest, TResponse>
impl<TRequest, TResponse> Unpin for RemoteResponderHandlerDefinition<TRequest, TResponse>
impl<TRequest, TResponse> UnsafeUnpin for RemoteResponderHandlerDefinition<TRequest, TResponse>
impl<TRequest, TResponse> !UnwindSafe for RemoteResponderHandlerDefinition<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