pub enum AttributesError {
TooManyEntries {
entries: usize,
},
TooLarge {
total_bytes: usize,
},
}Expand description
Describes which attribute-map limit an input broke.
Variants§
TooManyEntries
The map holds more entries than the limit allows.
TooLarge
The whole map is larger than the limit allows.
Trait Implementations§
Source§impl Clone for AttributesError
impl Clone for AttributesError
Source§impl Debug for AttributesError
impl Debug for AttributesError
Source§impl Display for AttributesError
impl Display for AttributesError
impl Eq for AttributesError
Source§impl Error for AttributesError
impl Error for AttributesError
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 PartialEq for AttributesError
impl PartialEq for AttributesError
impl StructuralPartialEq for AttributesError
Auto Trait Implementations§
impl Freeze for AttributesError
impl RefUnwindSafe for AttributesError
impl Send for AttributesError
impl Sync for AttributesError
impl Unpin for AttributesError
impl UnsafeUnpin for AttributesError
impl UnwindSafe for AttributesError
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