pub enum JobStatus {
InProgress,
Complete,
Failed(JobError),
}
Available on crate features
sync_routes
and dbx_sharing
only.Variants§
InProgress
The asynchronous job is still in progress.
Complete
The asynchronous job has finished.
Failed(JobError)
The asynchronous job returned an error.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for JobStatus
impl<'de> Deserialize<'de> for JobStatus
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<PollResultBase> for JobStatus
impl From<PollResultBase> for JobStatus
Source§fn from(parent: PollResultBase) -> Self
fn from(parent: PollResultBase) -> Self
Converts to this type from the input type.
impl Eq for JobStatus
impl StructuralPartialEq for JobStatus
Auto Trait Implementations§
impl Freeze for JobStatus
impl RefUnwindSafe for JobStatus
impl Send for JobStatus
impl Sync for JobStatus
impl Unpin for JobStatus
impl UnwindSafe for JobStatus
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.