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)
Tuple Fields
0: LookupError
Could not find the specified resource.
TooManyWriteOperations
There are too many write operations in user’s Dropbox. Please retry this request.
TooManyFiles
There are too many files in one request. Please retry with fewer files.
NoWritePermission
The user does not have permissions to change the lock state or access the file.
CannotBeLocked
Item is a type that cannot be locked.
FileNotShared
Requested file is not currently shared.
LockConflict(LockConflictError)
Tuple Fields
The user action conflicts with an existing lock on the file.
InternalError
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.
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
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