#[non_exhaustive]pub enum DeleteFileRequestError {
DisabledForTeam,
NotFound,
NotAFolder,
AppLacksAccess,
NoPermission,
EmailUnverified,
ValidationError,
FileRequestOpen,
Other,
}
sync_routes
and dbx_file_requests
only.Expand description
There was an error deleting these file requests.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
DisabledForTeam
This user’s Dropbox Business team doesn’t allow file requests.
NotFound
This file request ID was not found.
NotAFolder
The specified path is not a folder.
AppLacksAccess
This file request is not accessible to this app. Apps with the app folder permission can only access file requests in their app folder.
NoPermission
This user doesn’t have permission to access or modify this file request.
EmailUnverified
This user’s email address is not verified. File requests are only available on accounts with a verified email address. Users can verify their email address here.
ValidationError
There was an error validating the request. For example, the title was invalid, or there were disallowed characters in the destination path.
FileRequestOpen
One or more file requests currently open.
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 DeleteFileRequestError
impl Clone for DeleteFileRequestError
Source§fn clone(&self) -> DeleteFileRequestError
fn clone(&self) -> DeleteFileRequestError
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for DeleteFileRequestError
impl Debug for DeleteFileRequestError
Source§impl<'de> Deserialize<'de> for DeleteFileRequestError
impl<'de> Deserialize<'de> for DeleteFileRequestError
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 DeleteFileRequestError
impl Display for DeleteFileRequestError
Source§impl Error for DeleteFileRequestError
impl Error for DeleteFileRequestError
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<FileRequestError> for DeleteFileRequestError
impl From<FileRequestError> for DeleteFileRequestError
Source§fn from(parent: FileRequestError) -> Self
fn from(parent: FileRequestError) -> Self
Source§impl PartialEq for DeleteFileRequestError
impl PartialEq for DeleteFileRequestError
Source§impl Serialize for DeleteFileRequestError
impl Serialize for DeleteFileRequestError
impl Eq for DeleteFileRequestError
impl StructuralPartialEq for DeleteFileRequestError
Auto Trait Implementations§
impl Freeze for DeleteFileRequestError
impl RefUnwindSafe for DeleteFileRequestError
impl Send for DeleteFileRequestError
impl Sync for DeleteFileRequestError
impl Unpin for DeleteFileRequestError
impl UnwindSafe for DeleteFileRequestError
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.