pub struct EndpointClient { /* private fields */ }Implementations§
Source§impl EndpointClient
impl EndpointClient
pub fn from_dependencies( dependencies: &ModuleDependencies, ) -> Result<Self, RuntimeFailure>
pub async fn describe( &self, request: DescribeRequest, ) -> Result<DescribeResponse, EndpointDescribeInvocationError>
pub async fn describe_with_context( &self, context: InvocationContext, request: DescribeRequest, ) -> Result<DescribeResponse, EndpointDescribeInvocationError>
pub async fn handle( &self, request: HandleRequest, ) -> Result<HandleResponse, EndpointHandleInvocationError>
pub async fn handle_with_context( &self, context: InvocationContext, request: HandleRequest, ) -> Result<HandleResponse, EndpointHandleInvocationError>
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for EndpointClient
impl !Send for EndpointClient
impl !Sync for EndpointClient
impl !UnwindSafe for EndpointClient
impl Freeze for EndpointClient
impl Unpin for EndpointClient
impl UnsafeUnpin for EndpointClient
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