Skip to main content

AsAttribute

Trait 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§

Source

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".

Implementors§