pub struct LogScaleClient { /* private fields */ }Implementations§
Source§impl LogScaleClient
impl LogScaleClient
pub fn from_url( logscale_url: &str, ingest_token: String, ) -> Result<Self, Box<dyn Error>>
pub async fn ingest_structured<'a>( &self, request: &[StructuredLogsIngestRequest<'a>], ) -> Result<(), LogScaleError>
pub async fn ingest_unstructured<'a>( &self, request: &[UnstructuredLogsIngestRequest<'a>], ) -> Result<(), LogScaleError>
Trait Implementations§
Source§impl Clone for LogScaleClient
impl Clone for LogScaleClient
Source§fn clone(&self) -> LogScaleClient
fn clone(&self) -> LogScaleClient
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Send for LogScaleClient
impl Sync for LogScaleClient
Auto Trait Implementations§
impl Freeze for LogScaleClient
impl !RefUnwindSafe for LogScaleClient
impl Unpin for LogScaleClient
impl !UnwindSafe for LogScaleClient
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