pub struct ImageSideDataTooLarge { /* private fields */ }Expand description
Payload for ConvertError::ImageSideDataTooLarge.
A decoded still whose side data exceeds
FrameLimits::max_image_side_data_bytes.
Refused rather than truncated. The shared stream collector drops what does not fit and logs it, which on a still is the wrong answer twice: an ICC profile is the entry most likely to be large and the one whose loss silently changes the colours, and the drop is positional, so a big profile pushes the display matrix off the end and the picture comes back rotated wrong with nothing to say so.
Implementations§
Trait Implementations§
Source§impl Clone for ImageSideDataTooLarge
impl Clone for ImageSideDataTooLarge
Source§fn clone(&self) -> ImageSideDataTooLarge
fn clone(&self) -> ImageSideDataTooLarge
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ImageSideDataTooLarge
Source§impl Debug for ImageSideDataTooLarge
impl Debug for ImageSideDataTooLarge
Source§impl Display for ImageSideDataTooLarge
impl Display for ImageSideDataTooLarge
impl Eq for ImageSideDataTooLarge
Source§impl PartialEq for ImageSideDataTooLarge
impl PartialEq for ImageSideDataTooLarge
impl StructuralPartialEq for ImageSideDataTooLarge
Auto Trait Implementations§
impl Freeze for ImageSideDataTooLarge
impl RefUnwindSafe for ImageSideDataTooLarge
impl Send for ImageSideDataTooLarge
impl Sync for ImageSideDataTooLarge
impl Unpin for ImageSideDataTooLarge
impl UnsafeUnpin for ImageSideDataTooLarge
impl UnwindSafe for ImageSideDataTooLarge
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