Enum dropbox_sdk::sharing::SharingFileAccessError [−][src]
#[non_exhaustive]
pub enum SharingFileAccessError {
NoPermission,
InvalidFile,
IsFolder,
InsidePublicFolder,
InsideOsxPackage,
Other,
}dbx_sharing only.User could not access this file.
Variants (Non-exhaustive)
Current user does not have sufficient privileges to perform the desired action.
File specified was not found.
A folder can’t be shared this way. Use folder sharing or a shared link instead.
A file inside a public folder can’t be shared this way. Use a public link instead.
A Mac OS X package can’t be shared this way. Use a shared link instead.
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
impl Clone for SharingFileAccessError[src]
impl Clone for SharingFileAccessError[src]fn clone(&self) -> SharingFileAccessError[src]
fn clone(&self) -> SharingFileAccessError[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]Performs copy-assignment from source. Read more
impl Debug for SharingFileAccessError[src]
impl Debug for SharingFileAccessError[src]impl<'de> Deserialize<'de> for SharingFileAccessError[src]
impl<'de> Deserialize<'de> for SharingFileAccessError[src]fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>[src]
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>[src]Deserialize this value from the given Serde deserializer. Read more
impl Display for SharingFileAccessError[src]
impl Display for SharingFileAccessError[src]impl Error for SharingFileAccessError[src]
impl Error for SharingFileAccessError[src]fn source(&self) -> Option<&(dyn Error + 'static)>1.30.0[src]
fn source(&self) -> Option<&(dyn Error + 'static)>1.30.0[src]The lower-level source of this error, if any. Read more
fn backtrace(&self) -> Option<&Backtrace>[src]
fn backtrace(&self) -> Option<&Backtrace>[src]backtrace)Returns a stack backtrace, if available, of where this error occurred. Read more
fn description(&self) -> &str1.0.0[src]
fn description(&self) -> &str1.0.0[src]use the Display impl or to_string()
impl Serialize for SharingFileAccessError[src]
impl Serialize for SharingFileAccessError[src]impl StructuralPartialEq for SharingFileAccessError[src]
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
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone, [src]
impl<T> ToOwned for T where
T: Clone, [src]type Owned = T
type Owned = TThe resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn to_owned(&self) -> T[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)[src]
pub fn clone_into(&self, target: &mut T)[src]🔬 This is a nightly-only experimental API. (toowned_clone_into)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>, [src]
T: for<'de> Deserialize<'de>,