Enum dropbox_sdk::files::LockFileError [−][src]
#[non_exhaustive]
pub enum LockFileError {
PathLookup(LookupError),
TooManyWriteOperations,
TooManyFiles,
NoWritePermission,
CannotBeLocked,
FileNotShared,
LockConflict(LockConflictError),
InternalError,
Other,
}
dbx_files
only.Variants (Non-exhaustive)
This enum is marked as non-exhaustive
PathLookup(LookupError)
Could not find the specified resource.
Tuple Fields of PathLookup
0: LookupError
There are too many write operations in user’s Dropbox. Please retry this request.
There are too many files in one request. Please retry with fewer files.
The user does not have permissions to change the lock state or access the file.
Item is a type that cannot be locked.
Requested file is not currently shared.
LockConflict(LockConflictError)
The user action conflicts with an existing lock on the file.
Tuple Fields of LockConflict
Something went wrong with the job on Dropbox’s end. You’ll need to verify that the action you were taking succeeded, and if not, try again. This should happen very rarely.
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
Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for LockFileError
impl Send for LockFileError
impl Sync for LockFileError
impl Unpin for LockFileError
impl UnwindSafe for LockFileError
Blanket Implementations
Mutably borrows from an owned value. Read more