pub struct ExceptionlessClient<T: Transport = HttpTransport> { /* private fields */ }Implementations§
Source§impl ExceptionlessClient<HttpTransport>
impl ExceptionlessClient<HttpTransport>
pub fn with_api_key(api_key: impl Into<String>) -> Self
Source§impl<T: Transport> ExceptionlessClient<T>
impl<T: Transport> ExceptionlessClient<T>
pub fn new(config: ClientConfig, transport: T) -> Self
pub fn config(&self) -> &ClientConfig
pub fn transport(&self) -> &T
pub fn error<'a, E>(&'a self, error: &'a E) -> ErrorEventBuilder<'a, T>
pub fn log<'a>(&'a self, message: impl Into<String>) -> LogEventBuilder<'a, T>
pub fn feature<'a>( &'a self, feature_name: impl Into<String>, ) -> FeatureUsageBuilder<'a, T>
pub async fn submit( &self, event: Event, ) -> Result<SubmissionResult, ClientError>
pub async fn submit_batch<I>(
&self,
events: I,
) -> Result<SubmissionResult, ClientError>where
I: IntoIterator<Item = Event>,
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for ExceptionlessClient<T>where
T: Freeze,
impl<T> RefUnwindSafe for ExceptionlessClient<T>where
T: RefUnwindSafe,
impl<T> Send for ExceptionlessClient<T>
impl<T> Sync for ExceptionlessClient<T>
impl<T> Unpin for ExceptionlessClient<T>where
T: Unpin,
impl<T> UnsafeUnpin for ExceptionlessClient<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for ExceptionlessClient<T>where
T: UnwindSafe,
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