Enum dropbox_sdk::files::LookupError [−][src]
#[non_exhaustive] pub enum LookupError { MalformedPath(MalformedPathError), NotFound, NotFile, NotFolder, RestrictedContent, UnsupportedContentType, Locked, Other, }
dbx_files
only.Variants (Non-exhaustive)
MalformedPath(MalformedPathError)
The given path does not satisfy the required path format. Please refer to the Path formats documentation for more information.
There is nothing at the given path.
We were expecting a file, but the given path refers to something that isn’t a file.
We were expecting a folder, but the given path refers to something that isn’t a folder.
The file cannot be transferred because the content is restricted. For example, sometimes there are legal restrictions due to copyright claims.
This operation is not supported for this content type.
The given path is locked.
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 LookupError
[src]
impl Clone for LookupError
[src]fn clone(&self) -> LookupError
[src]
fn clone(&self) -> LookupError
[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 LookupError
[src]
impl Debug for LookupError
[src]impl<'de> Deserialize<'de> for LookupError
[src]
impl<'de> Deserialize<'de> for LookupError
[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 LookupError
[src]
impl Display for LookupError
[src]impl Error for LookupError
[src]
impl Error for LookupError
[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) -> &str
1.0.0[src]
fn description(&self) -> &str
1.0.0[src]use the Display impl or to_string()
impl PartialEq<LookupError> for LookupError
[src]
impl PartialEq<LookupError> for LookupError
[src]fn eq(&self, other: &LookupError) -> bool
[src]
fn eq(&self, other: &LookupError) -> bool
[src]This method tests for self
and other
values to be equal, and is used
by ==
. Read more
fn ne(&self, other: &LookupError) -> bool
[src]
fn ne(&self, other: &LookupError) -> bool
[src]This method tests for !=
.
impl Serialize for LookupError
[src]
impl Serialize for LookupError
[src]impl StructuralPartialEq for LookupError
[src]
Auto Trait Implementations
impl RefUnwindSafe for LookupError
impl Send for LookupError
impl Sync for LookupError
impl Unpin for LookupError
impl UnwindSafe for LookupError
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 = T
The 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>,