Enum glean::net::UploadResult [−][src]
pub enum UploadResult { RecoverableFailure, UnrecoverableFailure, HttpStatus(u32), }
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
impl UploadResult
[src]
impl UploadResult
[src]Trait Implementations
impl From<u32> for UploadResult
[src]
impl From<u32> for UploadResult
[src]pub fn from(status: u32) -> UploadResult
[src]
Auto Trait Implementations
impl RefUnwindSafe for UploadResult
impl RefUnwindSafe for UploadResult
impl Send for UploadResult
impl Send for UploadResult
impl Sync for UploadResult
impl Sync for UploadResult
impl Unpin for UploadResult
impl Unpin for UploadResult
impl UnwindSafe for UploadResult
impl UnwindSafe for UploadResult