#[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<UploadSessionFinishError> for UploadSessionFinishError
impl PartialEq<UploadSessionFinishError> for UploadSessionFinishError
source§fn eq(&self, other: &UploadSessionFinishError) -> bool
fn eq(&self, other: &UploadSessionFinishError) -> bool
self
and other
values to be equal, and is used
by ==
.