#[non_exhaustive]pub enum RelinquishFolderMembershipError {
AccessError(SharedFolderAccessError),
FolderOwner,
Mounted,
GroupAccess,
TeamFolder,
NoPermission,
NoExplicitAccess,
Other,
}
sync_routes
and dbx_sharing
only.Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
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§
Source§impl Clone for RelinquishFolderMembershipError
impl Clone for RelinquishFolderMembershipError
Source§fn clone(&self) -> RelinquishFolderMembershipError
fn clone(&self) -> RelinquishFolderMembershipError
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl<'de> Deserialize<'de> for RelinquishFolderMembershipError
impl<'de> Deserialize<'de> for RelinquishFolderMembershipError
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Source§impl Error for RelinquishFolderMembershipError
impl Error for RelinquishFolderMembershipError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
Source§impl PartialEq for RelinquishFolderMembershipError
impl PartialEq for RelinquishFolderMembershipError
Source§fn eq(&self, other: &RelinquishFolderMembershipError) -> bool
fn eq(&self, other: &RelinquishFolderMembershipError) -> bool
self
and other
values to be equal, and is used by ==
.impl Eq for RelinquishFolderMembershipError
impl StructuralPartialEq for RelinquishFolderMembershipError
Auto Trait Implementations§
impl Freeze for RelinquishFolderMembershipError
impl RefUnwindSafe for RelinquishFolderMembershipError
impl Send for RelinquishFolderMembershipError
impl Sync for RelinquishFolderMembershipError
impl Unpin for RelinquishFolderMembershipError
impl UnwindSafe for RelinquishFolderMembershipError
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,
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.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string
, but without panic on OOM.