#[non_exhaustive]pub enum MembersTransferFilesError {
UserNotFound,
UserNotInTeam,
RemovedAndTransferDestShouldDiffer,
RemovedAndTransferAdminShouldDiffer,
TransferDestUserNotFound,
TransferDestUserNotInTeam,
TransferAdminUserNotInTeam,
TransferAdminUserNotFound,
UnspecifiedTransferAdminId,
TransferAdminIsNotAdmin,
RecipientNotVerified,
Other,
}
sync_routes
and dbx_team
only.Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
UserNotFound
No matching user found. The provided team_member_id, email, or external_id does not exist on this team.
UserNotInTeam
The user is not a member of the team.
RemovedAndTransferDestShouldDiffer
Expected removed user and transfer_dest user to be different.
RemovedAndTransferAdminShouldDiffer
Expected removed user and transfer_admin user to be different.
TransferDestUserNotFound
No matching user found for the argument transfer_dest_id.
TransferDestUserNotInTeam
The provided transfer_dest_id does not exist on this team.
TransferAdminUserNotInTeam
The provided transfer_admin_id does not exist on this team.
TransferAdminUserNotFound
No matching user found for the argument transfer_admin_id.
UnspecifiedTransferAdminId
The transfer_admin_id argument must be provided when file transfer is requested.
TransferAdminIsNotAdmin
Specified transfer_admin user is not a team admin.
RecipientNotVerified
The recipient user’s email is not verified.
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 MembersTransferFilesError
impl Clone for MembersTransferFilesError
Source§fn clone(&self) -> MembersTransferFilesError
fn clone(&self) -> MembersTransferFilesError
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for MembersTransferFilesError
impl Debug for MembersTransferFilesError
Source§impl<'de> Deserialize<'de> for MembersTransferFilesError
impl<'de> Deserialize<'de> for MembersTransferFilesError
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 Display for MembersTransferFilesError
impl Display for MembersTransferFilesError
Source§impl Error for MembersTransferFilesError
impl Error for MembersTransferFilesError
1.30.0 · 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 From<MembersDeactivateError> for MembersTransferFilesError
impl From<MembersDeactivateError> for MembersTransferFilesError
Source§fn from(parent: MembersDeactivateError) -> Self
fn from(parent: MembersDeactivateError) -> Self
Source§impl From<MembersTransferFilesError> for MembersRemoveError
impl From<MembersTransferFilesError> for MembersRemoveError
Source§fn from(parent: MembersTransferFilesError) -> Self
fn from(parent: MembersTransferFilesError) -> Self
Source§impl From<MembersTransferFilesError> for MembersTransferFormerMembersFilesError
impl From<MembersTransferFilesError> for MembersTransferFormerMembersFilesError
Source§fn from(parent: MembersTransferFilesError) -> Self
fn from(parent: MembersTransferFilesError) -> Self
impl Eq for MembersTransferFilesError
impl StructuralPartialEq for MembersTransferFilesError
Auto Trait Implementations§
impl Freeze for MembersTransferFilesError
impl RefUnwindSafe for MembersTransferFilesError
impl Send for MembersTransferFilesError
impl Sync for MembersTransferFilesError
impl Unpin for MembersTransferFilesError
impl UnwindSafe for MembersTransferFilesError
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.