pub struct DatadogClient { /* private fields */ }Implementations§
Source§impl DatadogClient
impl DatadogClient
Sourcepub fn search_events<F>(
&self,
query: &EventsQuery,
on_batch: F,
) -> Result<usize, String>where
F: FnMut(&[EventEntry]),
pub fn search_events<F>(
&self,
query: &EventsQuery,
on_batch: F,
) -> Result<usize, String>where
F: FnMut(&[EventEntry]),
Search events with streaming output. Calls on_batch with each page of results as they arrive.
Returns the total number of events retrieved.
Source§impl DatadogClient
impl DatadogClient
Auto Trait Implementations§
impl Freeze for DatadogClient
impl !RefUnwindSafe for DatadogClient
impl Send for DatadogClient
impl Sync for DatadogClient
impl Unpin for DatadogClient
impl !UnwindSafe for DatadogClient
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