#[non_exhaustive]pub enum CreateFileRequestError {
DisabledForTeam,
NotFound,
NotAFolder,
AppLacksAccess,
NoPermission,
EmailUnverified,
ValidationError,
InvalidLocation,
RateLimit,
Other,
}
sync_routes
and dbx_file_requests
only.Expand description
There was an error creating the file request.
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.
InvalidLocation
File requests are not available on the specified folder.
RateLimit
The user has reached the rate limit for creating file requests. The limit is currently 4000 file requests total.
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 CreateFileRequestError
impl Clone for CreateFileRequestError
Source§fn clone(&self) -> CreateFileRequestError
fn clone(&self) -> CreateFileRequestError
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for CreateFileRequestError
impl Debug for CreateFileRequestError
Source§impl<'de> Deserialize<'de> for CreateFileRequestError
impl<'de> Deserialize<'de> for CreateFileRequestError
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 CreateFileRequestError
impl Display for CreateFileRequestError
Source§impl Error for CreateFileRequestError
impl Error for CreateFileRequestError
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 CreateFileRequestError
impl From<FileRequestError> for CreateFileRequestError
Source§fn from(parent: FileRequestError) -> Self
fn from(parent: FileRequestError) -> Self
Source§impl PartialEq for CreateFileRequestError
impl PartialEq for CreateFileRequestError
Source§impl Serialize for CreateFileRequestError
impl Serialize for CreateFileRequestError
impl Eq for CreateFileRequestError
impl StructuralPartialEq for CreateFileRequestError
Auto Trait Implementations§
impl Freeze for CreateFileRequestError
impl RefUnwindSafe for CreateFileRequestError
impl Send for CreateFileRequestError
impl Sync for CreateFileRequestError
impl Unpin for CreateFileRequestError
impl UnwindSafe for CreateFileRequestError
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.