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

pub enum SharePathError {
    IsFile,
    InsideSharedFolder,
    ContainsSharedFolder,
    ContainsAppFolder,
    ContainsTeamFolder,
    IsAppFolder,
    InsideAppFolder,
    IsPublicFolder,
    InsidePublicFolder,
    AlreadyShared(SharedFolderMetadata),
    InvalidPath,
    IsOsxPackage,
    InsideOsxPackage,
    Other,
}

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.

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 Display for SharePathError[src]

impl Debug for SharePathError[src]

impl Error for SharePathError[src]

impl Serialize for SharePathError[src]

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

Auto Trait Implementations

Blanket Implementations

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

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

impl<T> From<T> for T[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.

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

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

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

impl<T> Typeable for T where
    T: Any

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