Enum dropbox_sdk::sharing::SharingFileAccessError [−][src]
#[non_exhaustive]
pub enum SharingFileAccessError {
NoPermission,
InvalidFile,
IsFolder,
InsidePublicFolder,
InsideOsxPackage,
Other,
}This is supported on crate feature
dbx_sharing only.Expand description
User could not access this file.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Current user does not have sufficient privileges to perform the desired action.
File specified was not found.
A folder can’t be shared this way. Use folder sharing or a shared link instead.
A file inside a public folder can’t be shared this way. Use a public link instead.
A Mac OS X package can’t be shared this way. Use a shared link instead.
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
Auto Trait Implementations
impl RefUnwindSafe for SharingFileAccessErrorimpl Send for SharingFileAccessErrorimpl Sync for SharingFileAccessErrorimpl Unpin for SharingFileAccessErrorimpl UnwindSafe for SharingFileAccessErrorBlanket Implementations
Mutably borrows from an owned value. Read more