pub struct SqsHttpService<H: SqsHandler> { /* private fields */ }Expand description
Hyper Service implementation for SQS.
Wraps an SqsHandler implementation and routes incoming HTTP
requests to the appropriate SQS operation handler.
Implementations§
Source§impl<H: SqsHandler> SqsHttpService<H>
impl<H: SqsHandler> SqsHttpService<H>
Sourcepub fn new(handler: Arc<H>, config: SqsHttpConfig) -> Self
pub fn new(handler: Arc<H>, config: SqsHttpConfig) -> Self
Create a new SqsHttpService.
Trait Implementations§
Source§impl<H: SqsHandler> Clone for SqsHttpService<H>
impl<H: SqsHandler> Clone for SqsHttpService<H>
Source§impl<H: Debug + SqsHandler> Debug for SqsHttpService<H>
impl<H: Debug + SqsHandler> Debug for SqsHttpService<H>
Source§impl<H: SqsHandler> Service<Request<Incoming>> for SqsHttpService<H>
impl<H: SqsHandler> Service<Request<Incoming>> for SqsHttpService<H>
Source§type Response = Response<SqsResponseBody>
type Response = Response<SqsResponseBody>
Responses given by the service.
Source§type Error = Infallible
type Error = Infallible
Errors produced by the service. Read more
Auto Trait Implementations§
impl<H> Freeze for SqsHttpService<H>
impl<H> !RefUnwindSafe for SqsHttpService<H>
impl<H> Send for SqsHttpService<H>
impl<H> Sync for SqsHttpService<H>
impl<H> Unpin for SqsHttpService<H>
impl<H> UnsafeUnpin for SqsHttpService<H>
impl<H> !UnwindSafe for SqsHttpService<H>
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