#[non_exhaustive]pub enum RemoveFolderMemberError {
AccessError(SharedFolderAccessError),
MemberError(SharedFolderMemberError),
FolderOwner,
GroupAccess,
TeamFolder,
NoPermission,
TooManyFiles,
Other,
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
AccessError(SharedFolderAccessError)
MemberError(SharedFolderMemberError)
FolderOwner
The target user is the owner of the shared folder. You can’t remove this user until ownership has been transferred to another member.
GroupAccess
The target user has access to the shared folder via a group.
TeamFolder
This action cannot be performed on a team shared folder.
NoPermission
The current user does not have permission to perform this action.
TooManyFiles
This shared folder has too many files for leaving a copy. You can still remove this user without leaving a copy.
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 RemoveFolderMemberError
Available on crate feature dbx_sharing only.
impl Clone for RemoveFolderMemberError
Available on crate feature
dbx_sharing only.source§fn clone(&self) -> RemoveFolderMemberError
fn clone(&self) -> RemoveFolderMemberError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for RemoveFolderMemberError
Available on crate feature dbx_sharing only.
impl Debug for RemoveFolderMemberError
Available on crate feature
dbx_sharing only.source§impl<'de> Deserialize<'de> for RemoveFolderMemberError
Available on crate feature dbx_sharing only.
impl<'de> Deserialize<'de> for RemoveFolderMemberError
Available on crate feature
dbx_sharing only.source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
source§impl Display for RemoveFolderMemberError
Available on crate feature dbx_sharing only.
impl Display for RemoveFolderMemberError
Available on crate feature
dbx_sharing only.source§impl Error for RemoveFolderMemberError
Available on crate feature dbx_sharing only.
impl Error for RemoveFolderMemberError
Available on crate feature
dbx_sharing only.source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl PartialEq for RemoveFolderMemberError
Available on crate feature dbx_sharing only.
impl PartialEq for RemoveFolderMemberError
Available on crate feature
dbx_sharing only.source§fn eq(&self, other: &RemoveFolderMemberError) -> bool
fn eq(&self, other: &RemoveFolderMemberError) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for RemoveFolderMemberError
Available on crate feature dbx_sharing only.
impl Serialize for RemoveFolderMemberError
Available on crate feature
dbx_sharing only.impl Eq for RemoveFolderMemberError
Available on crate feature
dbx_sharing only.impl StructuralEq for RemoveFolderMemberError
Available on crate feature
dbx_sharing only.impl StructuralPartialEq for RemoveFolderMemberError
Available on crate feature
dbx_sharing only.Auto Trait Implementations§
impl RefUnwindSafe for RemoveFolderMemberError
impl Send for RemoveFolderMemberError
impl Sync for RemoveFolderMemberError
impl Unpin for RemoveFolderMemberError
impl UnwindSafe for RemoveFolderMemberError
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
Mutably borrows from an owned value. Read more