#[non_exhaustive]pub enum SharePathErrorBaseV2 {
Show 15 variants
IsFile,
InsideSharedFolder,
ContainsSharedFolder,
ContainsTeamFolder,
IsAppFolder,
InsideAppFolder,
IsPublicFolder,
InsidePublicFolder,
AlreadyShared(SharedFolderMetadata),
InvalidPath,
IsOsxPackage,
InsideOsxPackage,
IsVault,
IsVaultLocked,
Other,
}dbx_sharing and sync_routes 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.
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.
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) -> SharePathErrorBaseV2
fn clone(&self) -> SharePathErrorBaseV2
1.0.0 (const: unstable) · 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>
Source§fn from(parent: SharePathErrorBaseV2) -> Self
fn from(parent: SharePathErrorBaseV2) -> Self
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.