[][src]Enum dropbox_sdk::sharing::SharePathError

pub enum SharePathError {
    IsFile,
    InsideSharedFolder,
    ContainsSharedFolder,
    ContainsAppFolder,
    ContainsTeamFolder,
    IsAppFolder,
    InsideAppFolder,
    IsPublicFolder,
    InsidePublicFolder,
    AlreadyShared(SharedFolderMetadata),
    InvalidPath,
    IsOsxPackage,
    InsideOsxPackage,
    IsVault,
    IsFamily,
    Other,
}
This is supported on crate feature dbx_sharing only.

Variants

IsFile

A file is at the specified path.

InsideSharedFolder

We do not support sharing a folder inside a shared folder.

ContainsSharedFolder

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.

AlreadyShared(SharedFolderMetadata)

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.

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

impl Debug for SharePathError[src]

impl<'de> Deserialize<'de> for SharePathError[src]

impl Display for SharePathError[src]

impl Error for SharePathError[src]

impl Serialize for SharePathError[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.