#[non_exhaustive]pub enum UploadSessionFinishError {
    LookupFailed(UploadSessionLookupError),
    Path(WriteError),
    PropertiesError(InvalidPropertyGroupError),
    TooManySharedFolderTargets,
    TooManyWriteOperations,
    ConcurrentSessionDataNotAllowed,
    ConcurrentSessionNotClosed,
    ConcurrentSessionMissingData,
    PayloadTooLarge,
    ContentHashMismatch,
    Other,
}dbx_files only.Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
LookupFailed(UploadSessionLookupError)
The session arguments are incorrect; the value explains the reason.
Path(WriteError)
Unable to save the uploaded contents to a file. Data has already been appended to the upload session. Please retry with empty data body and updated offset.
PropertiesError(InvalidPropertyGroupError)
The supplied property group is invalid. The file has uploaded without property groups.
The batch request commits files into too many different shared folders. Please limit your batch request to files contained in a single shared folder.
TooManyWriteOperations
There are too many write operations happening in the user’s Dropbox. You should retry uploading this file.
ConcurrentSessionDataNotAllowed
Uploading data not allowed when finishing concurrent upload session.
ConcurrentSessionNotClosed
Concurrent upload sessions need to be closed before finishing.
ConcurrentSessionMissingData
Not all pieces of data were uploaded before trying to finish the session.
PayloadTooLarge
The request payload must be at most 150 MB.
ContentHashMismatch
The content received by the Dropbox server in this call does not match the provided content hash.
Other
Catch-all used for unrecognized values returned from the server. Encountering this value typically indicates that this SDK version is out of date.
Trait Implementations§
Source§impl Clone for UploadSessionFinishError
 
impl Clone for UploadSessionFinishError
Source§fn clone(&self) -> UploadSessionFinishError
 
fn clone(&self) -> UploadSessionFinishError
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for UploadSessionFinishError
 
impl Debug for UploadSessionFinishError
Source§impl<'de> Deserialize<'de> for UploadSessionFinishError
 
impl<'de> Deserialize<'de> for UploadSessionFinishError
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
 
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Source§impl Display for UploadSessionFinishError
 
impl Display for UploadSessionFinishError
Source§impl Error for UploadSessionFinishError
 
impl Error for UploadSessionFinishError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
 
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
 
fn description(&self) -> &str
Source§impl PartialEq for UploadSessionFinishError
 
impl PartialEq for UploadSessionFinishError
Source§impl Serialize for UploadSessionFinishError
 
impl Serialize for UploadSessionFinishError
impl Eq for UploadSessionFinishError
impl StructuralPartialEq for UploadSessionFinishError
Auto Trait Implementations§
impl Freeze for UploadSessionFinishError
impl RefUnwindSafe for UploadSessionFinishError
impl Send for UploadSessionFinishError
impl Sync for UploadSessionFinishError
impl Unpin for UploadSessionFinishError
impl UnwindSafe for UploadSessionFinishError
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
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
key and return true if they are equal.