SelfSelector

Trait SelfSelector 

Source
pub trait SelfSelector {
    // Required method
    fn to_selector(&self) -> Result<Selector, StamError>;
}
Expand description

This trait is implemented by types that can return a Selector to themselves

Required Methods§

Source

fn to_selector(&self) -> Result<Selector, StamError>

Returns a selector that points to this resource

Implementors§