Trait attr::InsecureAttr [] [src]

pub trait InsecureAttr<Type: ?Sized> {
    type Output;
    fn name(&self) -> &str;
    fn get(&self, i: Type) -> Result<Self::Output>;
}

Direct, possibly failing access to an attribute of a type.

Associated Types

The resulting value when accessing the attribute

Required Methods

The attributes name

Implementation of the retrieval

Implementors