Enum dropbox_sdk::account::SetProfilePhotoError [−][src]
#[non_exhaustive]
pub enum SetProfilePhotoError {
FileTypeError,
FileSizeError,
DimensionError,
ThumbnailError,
TransientError,
Other,
}This is supported on crate feature
dbx_account only.Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
File cannot be set as profile photo.
File cannot exceed 10 MB.
Image must be larger than 128 x 128.
Image could not be thumbnailed.
Temporary infrastructure failure, please retry.
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
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for SetProfilePhotoErrorimpl Send for SetProfilePhotoErrorimpl Sync for SetProfilePhotoErrorimpl Unpin for SetProfilePhotoErrorimpl UnwindSafe for SetProfilePhotoErrorBlanket Implementations
Mutably borrows from an owned value. Read more