Enum glean_core::upload::UploadResult [−][src]
pub enum UploadResult {
RecoverableFailure,
UnrecoverableFailure,
HttpStatus(u32),
}Expand description
The result of an attempted ping upload.
Variants
A recoverable failure.
During upload something went wrong, e.g. the network connection failed. The upload should be retried at a later time.
An unrecoverable upload failure.
A possible cause might be a malformed URL.
HttpStatus(u32)A HTTP response code.
This can still indicate an error, depending on the status code.
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for UploadResultimpl Send for UploadResultimpl Sync for UploadResultimpl Unpin for UploadResultimpl UnwindSafe for UploadResult