Enum glean_core::upload::UploadResult
source · [−]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)
A HTTP response code.
This can still indicate an error, depending on the status code.
Implementations
Trait Implementations
sourceimpl Debug for UploadResult
impl Debug for UploadResult
Auto Trait Implementations
impl RefUnwindSafe for UploadResult
impl Send for UploadResult
impl Sync for UploadResult
impl Unpin for UploadResult
impl UnwindSafe for UploadResult
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more