Enum dropbox_sdk::files::PreviewError
source · pub enum PreviewError {
Path(LookupError),
InProgress,
UnsupportedExtension,
UnsupportedContent,
}Variants§
Path(LookupError)
An error occurs when downloading metadata for the file.
InProgress
This preview generation is still in progress and the file is not ready for preview yet.
UnsupportedExtension
The file extension is not supported preview generation.
UnsupportedContent
The file content is not supported for preview generation.
Trait Implementations§
source§impl Clone for PreviewError
Available on crate feature dbx_files only.
impl Clone for PreviewError
Available on crate feature
dbx_files only.source§fn clone(&self) -> PreviewError
fn clone(&self) -> PreviewError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for PreviewError
Available on crate feature dbx_files only.
impl Debug for PreviewError
Available on crate feature
dbx_files only.source§impl<'de> Deserialize<'de> for PreviewError
Available on crate feature dbx_files only.
impl<'de> Deserialize<'de> for PreviewError
Available on crate feature
dbx_files only.source§fn 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
source§impl Display for PreviewError
Available on crate feature dbx_files only.
impl Display for PreviewError
Available on crate feature
dbx_files only.source§impl Error for PreviewError
Available on crate feature dbx_files only.
impl Error for PreviewError
Available on crate feature
dbx_files only.source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl PartialEq for PreviewError
Available on crate feature dbx_files only.
impl PartialEq for PreviewError
Available on crate feature
dbx_files only.source§fn eq(&self, other: &PreviewError) -> bool
fn eq(&self, other: &PreviewError) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for PreviewError
Available on crate feature dbx_files only.
impl Serialize for PreviewError
Available on crate feature
dbx_files only.impl Eq for PreviewError
Available on crate feature
dbx_files only.impl StructuralEq for PreviewError
Available on crate feature
dbx_files only.impl StructuralPartialEq for PreviewError
Available on crate feature
dbx_files only.Auto Trait Implementations§
impl RefUnwindSafe for PreviewError
impl Send for PreviewError
impl Sync for PreviewError
impl Unpin for PreviewError
impl UnwindSafe for PreviewError
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more