Trait x509_cert::request::attributes::AsAttribute
source · pub trait AsAttribute: AssociatedOid + Tagged + EncodeValue + Sized {
// Provided method
fn to_attribute(&self) -> Result<Attribute> { ... }
}
Expand description
Trait to be implement by request attributes
Provided Methods§
sourcefn to_attribute(&self) -> Result<Attribute>
fn to_attribute(&self) -> Result<Attribute>
Returns the Attribute with the content encoded.
Object Safety§
This trait is not object safe.