pub struct RustackLogsHandler { /* private fields */ }Expand description
Handler that bridges the HTTP layer to the CloudWatch Logs provider.
Implementations§
Source§impl RustackLogsHandler
impl RustackLogsHandler
Sourcepub fn new(provider: Arc<RustackLogs>) -> Self
pub fn new(provider: Arc<RustackLogs>) -> Self
Create a new handler wrapping a provider.
Trait Implementations§
Source§impl Debug for RustackLogsHandler
impl Debug for RustackLogsHandler
Source§impl LogsHandler for RustackLogsHandler
impl LogsHandler for RustackLogsHandler
Source§fn handle_operation(
&self,
op: LogsOperation,
body: Bytes,
) -> Pin<Box<dyn Future<Output = Result<Response<LogsResponseBody>, LogsError>> + Send>>
fn handle_operation( &self, op: LogsOperation, body: Bytes, ) -> Pin<Box<dyn Future<Output = Result<Response<LogsResponseBody>, LogsError>> + Send>>
Handle a CloudWatch Logs operation and produce an HTTP response.
Auto Trait Implementations§
impl Freeze for RustackLogsHandler
impl !RefUnwindSafe for RustackLogsHandler
impl Send for RustackLogsHandler
impl Sync for RustackLogsHandler
impl Unpin for RustackLogsHandler
impl UnsafeUnpin for RustackLogsHandler
impl !UnwindSafe for RustackLogsHandler
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