[][src]Enum dropbox_sdk::sharing::SharingFileAccessError

pub enum SharingFileAccessError {
    NoPermission,
    InvalidFile,
    IsFolder,
    InsidePublicFolder,
    InsideOsxPackage,
    Other,
}
This is supported on crate feature dbx_sharing only.

User could not access this file.

Variants

NoPermission

Current user does not have sufficient privileges to perform the desired action.

InvalidFile

File specified was not found.

IsFolder

A folder can't be shared this way. Use folder sharing or a shared link instead.

InsidePublicFolder

A file inside a public folder can't be shared this way. Use a public link instead.

InsideOsxPackage

A Mac OS X package can't be shared this way. Use a shared link instead.

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 SharingFileAccessError[src]

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

impl Display for SharingFileAccessError[src]

impl Error for SharingFileAccessError[src]

impl Serialize for SharingFileAccessError[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.