#[non_exhaustive]
pub enum SharingFileAccessError {
NoPermission,
InvalidFile,
IsFolder,
InsidePublicFolder,
InsideOsxPackage,
Other,
}dbx_sharing only.Expand description
User could not access this file.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
NoPermission
Current user does not have sufficient privileges to perform the desired action.
InvalidFile
File specified was not found.
IsFolder
A folder can’t be shared this way. Use folder sharing or a shared link instead.
InsidePublicFolder
A file inside a public folder can’t be shared this way. Use a public link instead.
InsideOsxPackage
A Mac OS X package can’t be shared this way. Use a shared link instead.
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 SharingFileAccessError
impl Clone for SharingFileAccessError
sourcefn clone(&self) -> SharingFileAccessError
fn clone(&self) -> SharingFileAccessError
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 SharingFileAccessError
impl Debug for SharingFileAccessError
sourceimpl<'de> Deserialize<'de> for SharingFileAccessError
impl<'de> Deserialize<'de> for SharingFileAccessError
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 SharingFileAccessError
impl Display for SharingFileAccessError
sourceimpl Error for SharingFileAccessError
impl Error for SharingFileAccessError
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 SharingFileAccessError
impl Serialize for SharingFileAccessError
impl Eq for SharingFileAccessError
impl StructuralEq for SharingFileAccessError
impl StructuralPartialEq for SharingFileAccessError
Auto Trait Implementations
impl RefUnwindSafe for SharingFileAccessError
impl Send for SharingFileAccessError
impl Sync for SharingFileAccessError
impl Unpin for SharingFileAccessError
impl UnwindSafe for SharingFileAccessError
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