pub struct HttpDataDogClient { /* private fields */ }
Expand description
Datadog network client using HTTP protocol
Implementations§
Source§impl HttpDataDogClient
impl HttpDataDogClient
Sourcepub fn new(config: &DataDogConfig) -> Result<Self, DataDogLoggerError>
pub fn new(config: &DataDogConfig) -> Result<Self, DataDogLoggerError>
Creates new DataDog HTTP(S) logger
Trait Implementations§
Source§impl DataDogClient for HttpDataDogClient
impl DataDogClient for HttpDataDogClient
Source§fn send(&mut self, messages: &[DataDogLog]) -> Result<(), DataDogLoggerError>
fn send(&mut self, messages: &[DataDogLog]) -> Result<(), DataDogLoggerError>
Sends collection of messages to DataDog
Auto Trait Implementations§
impl Freeze for HttpDataDogClient
impl RefUnwindSafe for HttpDataDogClient
impl Send for HttpDataDogClient
impl Sync for HttpDataDogClient
impl Unpin for HttpDataDogClient
impl UnwindSafe for HttpDataDogClient
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