Enum dropbox_sdk::sharing::UnmountFolderError
source · [−]#[non_exhaustive]
pub enum UnmountFolderError {
AccessError(SharedFolderAccessError),
NoPermission,
NotUnmountable,
Other,
}dbx_sharing only.Variants (Non-exhaustive)
This enum is marked as non-exhaustive
AccessError(SharedFolderAccessError)
NoPermission
The current user does not have permission to perform this action.
NotUnmountable
The shared folder can’t be unmounted. One example where this can occur is when the shared folder’s parent folder is also a shared folder that resides in the current user’s Dropbox.
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 UnmountFolderError
impl Clone for UnmountFolderError
sourcefn clone(&self) -> UnmountFolderError
fn clone(&self) -> UnmountFolderError
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 UnmountFolderError
impl Debug for UnmountFolderError
sourceimpl<'de> Deserialize<'de> for UnmountFolderError
impl<'de> Deserialize<'de> for UnmountFolderError
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 UnmountFolderError
impl Display for UnmountFolderError
sourceimpl Error for UnmountFolderError
impl Error for UnmountFolderError
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 PartialEq<UnmountFolderError> for UnmountFolderError
impl PartialEq<UnmountFolderError> for UnmountFolderError
sourcefn eq(&self, other: &UnmountFolderError) -> bool
fn eq(&self, other: &UnmountFolderError) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &UnmountFolderError) -> bool
fn ne(&self, other: &UnmountFolderError) -> bool
This method tests for !=.
sourceimpl Serialize for UnmountFolderError
impl Serialize for UnmountFolderError
impl Eq for UnmountFolderError
impl StructuralEq for UnmountFolderError
impl StructuralPartialEq for UnmountFolderError
Auto Trait Implementations
impl RefUnwindSafe for UnmountFolderError
impl Send for UnmountFolderError
impl Sync for UnmountFolderError
impl Unpin for UnmountFolderError
impl UnwindSafe for UnmountFolderError
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