Enum dropbox_sdk::files::ThumbnailV2Error
source · [−]#[non_exhaustive]
pub enum ThumbnailV2Error {
Path(LookupError),
UnsupportedExtension,
UnsupportedImage,
ConversionError,
AccessDenied,
NotFound,
Other,
}
dbx_files
only.Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Path(LookupError)
An error occurred when downloading metadata for the image.
UnsupportedExtension
The file extension doesn’t allow conversion to a thumbnail.
UnsupportedImage
The image cannot be converted to a thumbnail.
ConversionError
An error occurred during thumbnail conversion.
AccessDenied
Access to this shared link is forbidden.
NotFound
The shared link does not exist.
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 ThumbnailV2Error
impl Clone for ThumbnailV2Error
sourcefn clone(&self) -> ThumbnailV2Error
fn clone(&self) -> ThumbnailV2Error
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 ThumbnailV2Error
impl Debug for ThumbnailV2Error
sourceimpl<'de> Deserialize<'de> for ThumbnailV2Error
impl<'de> Deserialize<'de> for ThumbnailV2Error
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 ThumbnailV2Error
impl Display for ThumbnailV2Error
sourceimpl Error for ThumbnailV2Error
impl Error for ThumbnailV2Error
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<ThumbnailV2Error> for ThumbnailV2Error
impl PartialEq<ThumbnailV2Error> for ThumbnailV2Error
sourcefn eq(&self, other: &ThumbnailV2Error) -> bool
fn eq(&self, other: &ThumbnailV2Error) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ThumbnailV2Error) -> bool
fn ne(&self, other: &ThumbnailV2Error) -> bool
This method tests for !=
.
sourceimpl Serialize for ThumbnailV2Error
impl Serialize for ThumbnailV2Error
impl Eq for ThumbnailV2Error
impl StructuralEq for ThumbnailV2Error
impl StructuralPartialEq for ThumbnailV2Error
Auto Trait Implementations
impl RefUnwindSafe for ThumbnailV2Error
impl Send for ThumbnailV2Error
impl Sync for ThumbnailV2Error
impl Unpin for ThumbnailV2Error
impl UnwindSafe for ThumbnailV2Error
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