Enum coveralls_api::UploadStatus
source · pub enum UploadStatus {
Failed(u32),
Succeeded,
Pending,
Unknown,
}
Expand description
Reports the status of a coveralls report upload.
Variants§
Failed(u32)
Upload failed. Includes HTTP error code.
Succeeded
Upload succeeded
Pending
Waiting for response from server or timeout
Unknown
Retrieving response code resulted in a CURL error no way of determining success
Trait Implementations§
source§impl Clone for UploadStatus
impl Clone for UploadStatus
source§fn clone(&self) -> UploadStatus
fn clone(&self) -> UploadStatus
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for UploadStatus
impl Debug for UploadStatus
source§impl<'de> Deserialize<'de> for UploadStatus
impl<'de> Deserialize<'de> for UploadStatus
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Hash for UploadStatus
impl Hash for UploadStatus
source§impl Ord for UploadStatus
impl Ord for UploadStatus
source§fn cmp(&self, other: &UploadStatus) -> Ordering
fn cmp(&self, other: &UploadStatus) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for UploadStatus
impl PartialEq for UploadStatus
source§fn eq(&self, other: &UploadStatus) -> bool
fn eq(&self, other: &UploadStatus) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for UploadStatus
impl PartialOrd for UploadStatus
source§fn partial_cmp(&self, other: &UploadStatus) -> Option<Ordering>
fn partial_cmp(&self, other: &UploadStatus) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for UploadStatus
impl Serialize for UploadStatus
impl Copy for UploadStatus
impl Eq for UploadStatus
impl StructuralEq for UploadStatus
impl StructuralPartialEq for UploadStatus
Auto Trait Implementations§
impl RefUnwindSafe for UploadStatus
impl Send for UploadStatus
impl Sync for UploadStatus
impl Unpin for UploadStatus
impl UnwindSafe for UploadStatus
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.