#[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,
}
sync_routes
and dbx_sharing
only.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
Auto Trait Implementations§
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.