pub struct LogsHttpService<H: LogsHandler> { /* private fields */ }Expand description
Hyper Service implementation for CloudWatch Logs.
Wraps a LogsHandler implementation and routes incoming HTTP
requests to the appropriate CloudWatch Logs operation handler.
Implementations§
Source§impl<H: LogsHandler> LogsHttpService<H>
impl<H: LogsHandler> LogsHttpService<H>
Sourcepub fn new(handler: Arc<H>, config: LogsHttpConfig) -> Self
pub fn new(handler: Arc<H>, config: LogsHttpConfig) -> Self
Create a new LogsHttpService.
Trait Implementations§
Source§impl<H: LogsHandler> Clone for LogsHttpService<H>
impl<H: LogsHandler> Clone for LogsHttpService<H>
Source§impl<H: Debug + LogsHandler> Debug for LogsHttpService<H>
impl<H: Debug + LogsHandler> Debug for LogsHttpService<H>
Source§impl<H: LogsHandler> Service<Request<Incoming>> for LogsHttpService<H>
impl<H: LogsHandler> Service<Request<Incoming>> for LogsHttpService<H>
Source§type Response = Response<LogsResponseBody>
type Response = Response<LogsResponseBody>
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 LogsHttpService<H>
impl<H> !RefUnwindSafe for LogsHttpService<H>
impl<H> Send for LogsHttpService<H>
impl<H> Sync for LogsHttpService<H>
impl<H> Unpin for LogsHttpService<H>
impl<H> UnsafeUnpin for LogsHttpService<H>
impl<H> !UnwindSafe for LogsHttpService<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