[][src]Enum dropbox_sdk::sharing::RelinquishFolderMembershipError

pub enum RelinquishFolderMembershipError {
    AccessError(SharedFolderAccessError),
    FolderOwner,
    Mounted,
    GroupAccess,
    TeamFolder,
    NoPermission,
    NoExplicitAccess,
    Other,
}

Variants

AccessError(SharedFolderAccessError)FolderOwner

The current user is the owner of the shared folder. Owners cannot relinquish membership to their own folders. Try unsharing or transferring ownership first.

Mounted

The shared folder is currently mounted. Unmount the shared folder before relinquishing membership.

GroupAccess

The current user has access to the shared folder via a group. You can't relinquish membership to folders shared via groups.

TeamFolder

This action cannot be performed on a team shared folder.

NoPermission

The current user does not have permission to perform this action.

NoExplicitAccess

The current user only has inherited access to the shared folder. You can't relinquish inherited membership to folders.

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

impl Debug for RelinquishFolderMembershipError[src]

impl Error for RelinquishFolderMembershipError[src]

impl Serialize for RelinquishFolderMembershipError[src]

impl<'de> Deserialize<'de> for RelinquishFolderMembershipError[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]