pub enum AttributeErrorKind {
Bytes,
ReservedTag,
TrailingBytes,
CountOverflow,
StaticConstraint,
NestingBudgetExceeded,
}Expand description
A stable structured-attribute failure category.
Variants§
Bytes
The bounded byte lane rejected the input or output.
ReservedTag
A reserved stack-map frame tag or verification-type tag was encountered.
TrailingBytes
An attribute body contained trailing bytes.
CountOverflow
A collection cannot be represented by its classfile count field.
StaticConstraint
A locally checkable attribute constraint is invalid.
NestingBudgetExceeded
A nested annotation value exceeded the caller’s structural budget.
Trait Implementations§
Source§impl Clone for AttributeErrorKind
impl Clone for AttributeErrorKind
Source§fn clone(&self) -> AttributeErrorKind
fn clone(&self) -> AttributeErrorKind
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 AttributeErrorKind
Source§impl Debug for AttributeErrorKind
impl Debug for AttributeErrorKind
impl Eq for AttributeErrorKind
Source§impl PartialEq for AttributeErrorKind
impl PartialEq for AttributeErrorKind
impl StructuralPartialEq for AttributeErrorKind
Auto Trait Implementations§
impl Freeze for AttributeErrorKind
impl RefUnwindSafe for AttributeErrorKind
impl Send for AttributeErrorKind
impl Sync for AttributeErrorKind
impl Unpin for AttributeErrorKind
impl UnsafeUnpin for AttributeErrorKind
impl UnwindSafe for AttributeErrorKind
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