Enum googapis::google::ads::googleads::v9::errors::image_error_enum::ImageError [−][src]
#[repr(i32)]
pub enum ImageError {
Show 41 variants
Unspecified,
Unknown,
InvalidImage,
StorageError,
BadRequest,
UnexpectedSize,
AnimatedNotAllowed,
AnimationTooLong,
ServerError,
CmykJpegNotAllowed,
FlashNotAllowed,
FlashWithoutClicktag,
FlashErrorAfterFixingClickTag,
AnimatedVisualEffect,
FlashError,
LayoutProblem,
ProblemReadingImageFile,
ErrorStoringImage,
AspectRatioNotAllowed,
FlashHasNetworkObjects,
FlashHasNetworkMethods,
FlashHasUrl,
FlashHasMouseTracking,
FlashHasRandomNum,
FlashSelfTargets,
FlashBadGeturlTarget,
FlashVersionNotSupported,
FlashWithoutHardCodedClickUrl,
InvalidFlashFile,
FailedToFixClickTagInFlash,
FlashAccessesNetworkResources,
FlashExternalJsCall,
FlashExternalFsCall,
FileTooLarge,
ImageDataTooLarge,
ImageProcessingError,
ImageTooSmall,
InvalidInput,
ProblemReadingFile,
ImageConstraintsViolated,
FormatNotAllowed,
}
Expand description
Enum describing possible image errors.
Variants
Enum unspecified.
The received error code is not known in this version.
The image is not valid.
The image could not be stored.
There was a problem with the request.
The image is not of legal dimensions.
Animated image are not permitted.
Animation is too long.
There was an error on the server.
Image cannot be in CMYK color format.
Flash images are not permitted.
Flash images must support clickTag.
A flash error has occurred after fixing the click tag.
Unacceptable visual effects.
There was a problem with the flash image.
Incorrect image layout.
There was a problem reading the image file.
There was an error storing the image.
The aspect ratio of the image is not allowed.
Flash cannot have network objects.
Flash cannot have network methods.
Flash cannot have a Url.
Flash cannot use mouse tracking.
Flash cannot have a random number.
Ad click target cannot be ‘_self’.
GetUrl method should only use ‘_blank’.
Flash version is not supported.
Flash movies need to have hard coded click URL or clickTAG
Uploaded flash file is corrupted.
Uploaded flash file can be parsed, but the click tag can not be fixed properly.
Flash movie accesses network resources
Flash movie attempts to call external javascript code
Flash movie attempts to call flash system commands
Image file is too large.
Image data is too large.
Error while processing the image.
Image is too small.
Input was invalid.
There was a problem reading the image file.
Image constraints are violated, but details like ASPECT_RATIO_NOT_ALLOWED can’t be provided. This happens when asset spec contains more than one constraint and different criteria of different constraints are violated.
Image format is not allowed.
Implementations
Trait Implementations
Returns the “default value” for a type. Read more
Performs the conversion.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for ImageError
impl Send for ImageError
impl Sync for ImageError
impl Unpin for ImageError
impl UnwindSafe for ImageError
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Wrap the input message T
in a tonic::Request
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more