Enum dropbox_sdk::sharing::SharePathError
source · #[non_exhaustive]pub enum SharePathError {
Show 17 variants
IsFile,
InsideSharedFolder,
ContainsSharedFolder,
ContainsAppFolder,
ContainsTeamFolder,
IsAppFolder,
InsideAppFolder,
IsPublicFolder,
InsidePublicFolder,
AlreadyShared(SharedFolderMetadata),
InvalidPath,
IsOsxPackage,
InsideOsxPackage,
IsVault,
IsVaultLocked,
IsFamily,
Other,
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
IsFile
A file is at the specified path.
We do not support sharing a folder inside a shared folder.
We do not support shared folders that contain shared folders.
ContainsAppFolder
We do not support shared folders that contain app folders.
ContainsTeamFolder
We do not support shared folders that contain team folders.
IsAppFolder
We do not support sharing an app folder.
InsideAppFolder
We do not support sharing a folder inside an app folder.
IsPublicFolder
A public folder can’t be shared this way. Use a public link instead.
InsidePublicFolder
A folder inside a public folder can’t be shared this way. Use a public link instead.
Folder is already shared. Contains metadata about the existing shared folder.
InvalidPath
Path is not valid.
IsOsxPackage
We do not support sharing a Mac OS X package.
InsideOsxPackage
We do not support sharing a folder inside a Mac OS X package.
IsVault
We do not support sharing the Vault folder.
IsVaultLocked
We do not support sharing a folder inside a locked Vault.
IsFamily
We do not support sharing the Family folder.
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§fn clone(&self) -> SharePathError
fn clone(&self) -> SharePathError
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
1.30.0 · 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§fn eq(&self, other: &SharePathError) -> bool
fn eq(&self, other: &SharePathError) -> bool
self and other values to be equal, and is used
by ==.