Enum dropbox_sdk::files::PreviewError [−][src]
pub enum PreviewError {
Path(LookupError),
InProgress,
UnsupportedExtension,
UnsupportedContent,
}
This is supported on crate feature
dbx_files
only.Variants
Path(LookupError)
Tuple Fields
0: 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
Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
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
Mutably borrows from an owned value. Read more