pub enum LaunchEmptyResult {
AsyncJobId(AsyncJobId),
Complete,
}
Available on crate features
sync_routes
and dbx_async
only.Expand description
Result returned by methods that may either launch an asynchronous job or complete synchronously. Upon synchronous completion of the job, no additional information is returned.
Variants§
AsyncJobId(AsyncJobId)
This response indicates that the processing is asynchronous. The string is an id that can be used to obtain the status of the asynchronous job.
Complete
The job finished synchronously and successfully.
Trait Implementations§
Source§impl Clone for LaunchEmptyResult
impl Clone for LaunchEmptyResult
Source§fn clone(&self) -> LaunchEmptyResult
fn clone(&self) -> LaunchEmptyResult
Returns a duplicate 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 LaunchEmptyResult
impl Debug for LaunchEmptyResult
Source§impl<'de> Deserialize<'de> for LaunchEmptyResult
impl<'de> Deserialize<'de> for LaunchEmptyResult
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<LaunchResultBase> for LaunchEmptyResult
impl From<LaunchResultBase> for LaunchEmptyResult
Source§fn from(parent: LaunchResultBase) -> Self
fn from(parent: LaunchResultBase) -> Self
Converts to this type from the input type.
Source§impl PartialEq for LaunchEmptyResult
impl PartialEq for LaunchEmptyResult
Source§impl Serialize for LaunchEmptyResult
impl Serialize for LaunchEmptyResult
impl Eq for LaunchEmptyResult
impl StructuralPartialEq for LaunchEmptyResult
Auto Trait Implementations§
impl Freeze for LaunchEmptyResult
impl RefUnwindSafe for LaunchEmptyResult
impl Send for LaunchEmptyResult
impl Sync for LaunchEmptyResult
impl Unpin for LaunchEmptyResult
impl UnwindSafe for LaunchEmptyResult
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.