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§
Sourcefn to_selector(&self) -> Result<Selector, StamError>
fn to_selector(&self) -> Result<Selector, StamError>
Returns a selector that points to this resource