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.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.