[−][src]Enum simple_azure_monitor_data_collector::LogError
Errors that can occur when logging data to the Data Collector API.
Variants
Http(Error)
Error occurred in the underlying HTTP library.
RequestBuilder(RequestBuildError)
Error occurred when building a HTTP request.
The response indicated that the request was not valid.
Fields of BadRequest
response: Response
The service failed to authenticate the request. Verify that the workspace ID and connection key are valid.
Either the URL provided is incorrect, or the request is too large.
The service is experiencing a high volume of data from your account. Please retry the request later.
The service encountered an internal error. Please retry the request.
The service currently is unavailable to receive requests. Please retry your request.
The HTTP reponse had an unexpected status code.
Fields of Other
response: Response
Methods
impl LogError
[src]
pub fn is_retryable(&self) -> bool
[src]
Returns true if the request which caused this error can be resent. If an error is retryable, it means that the Azure documentation has indicated that it is ok to resend the failed request.
If an error is not retryable, the request should not be resent, and that error must be handled appropriately.
This function does not consider potentially retryable errors which originate from the underlying HTTP library, for example timeout errors.
Trait Implementations
impl From<Error> for LogError
[src]
impl From<RequestBuildError> for LogError
[src]
fn from(source: RequestBuildError) -> Self
[src]
impl Display for LogError
[src]
impl Debug for LogError
[src]
impl Error for LogError
[src]
Auto Trait Implementations
impl Send for LogError
impl Sync for LogError
impl Unpin for LogError
impl !UnwindSafe for LogError
impl !RefUnwindSafe for LogError
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Same<T> for T
type Output = T
Should always be Self