#[non_exhaustive]
pub enum DeleteFileRequestError {
DisabledForTeam,
NotFound,
NotAFolder,
AppLacksAccess,
NoPermission,
EmailUnverified,
ValidationError,
FileRequestOpen,
Other,
}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
sourceimpl Clone for DeleteFileRequestError
impl Clone for DeleteFileRequestError
sourcefn clone(&self) -> DeleteFileRequestError
fn clone(&self) -> DeleteFileRequestError
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for DeleteFileRequestError
impl Debug for DeleteFileRequestError
sourceimpl<'de> Deserialize<'de> for DeleteFileRequestError
impl<'de> Deserialize<'de> for DeleteFileRequestError
sourcefn 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
sourceimpl Display for DeleteFileRequestError
impl Display for DeleteFileRequestError
sourceimpl Error for DeleteFileRequestError
impl Error for DeleteFileRequestError
1.30.0 · sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
sourcefn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
backtrace)Returns a stack backtrace, if available, of where this error occurred. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()
sourceimpl Serialize for DeleteFileRequestError
impl Serialize for DeleteFileRequestError
impl Eq for DeleteFileRequestError
impl StructuralEq for DeleteFileRequestError
impl StructuralPartialEq for DeleteFileRequestError
Auto Trait Implementations
impl RefUnwindSafe for DeleteFileRequestError
impl Send for DeleteFileRequestError
impl Sync for DeleteFileRequestError
impl Unpin for DeleteFileRequestError
impl UnwindSafe for DeleteFileRequestError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more