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
type Output
The resulting value when accessing the attribute
Required Methods
fn name(&self) -> &str
The attributes name
fn get(&self, i: Type) -> Result<Self::Output>
Implementation of the retrieval