pub struct InputTooLarge { /* private fields */ }Expand description
Payload for ImageDecodeError::InputTooLarge.
The compressed bytes handed to one decode exceed
DecoderLimits::max_image_input_bytes.
Implementations§
Trait Implementations§
Source§impl Clone for InputTooLarge
impl Clone for InputTooLarge
Source§fn clone(&self) -> InputTooLarge
fn clone(&self) -> InputTooLarge
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 InputTooLarge
Source§impl Debug for InputTooLarge
impl Debug for InputTooLarge
Source§impl Display for InputTooLarge
impl Display for InputTooLarge
impl Eq for InputTooLarge
Source§impl Error for InputTooLarge
impl Error for InputTooLarge
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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 From<InputTooLarge> for ImageDecodeError
impl From<InputTooLarge> for ImageDecodeError
Source§fn from(source: InputTooLarge) -> Self
fn from(source: InputTooLarge) -> Self
Converts to this type from the input type.
Source§impl PartialEq for InputTooLarge
impl PartialEq for InputTooLarge
impl StructuralPartialEq for InputTooLarge
Auto Trait Implementations§
impl Freeze for InputTooLarge
impl RefUnwindSafe for InputTooLarge
impl Send for InputTooLarge
impl Sync for InputTooLarge
impl Unpin for InputTooLarge
impl UnsafeUnpin for InputTooLarge
impl UnwindSafe for InputTooLarge
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