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