Trait parse::attributes::KnownAttribute
source · pub trait KnownAttributewhere
Self: Sized,{
// Required methods
fn decode(bytes: Bytes, constant_pool: &ConstantPool) -> Result<Self>;
fn id() -> &'static str;
}
Required Methods§
fn decode(bytes: Bytes, constant_pool: &ConstantPool) -> Result<Self>
fn id() -> &'static str
Object Safety§
This trait is not object safe.