pub trait TokenInterface: 'static {
// Required methods
fn get_node(&self) -> Arc<dyn MutableDirectory>;
fn token_registry(&self) -> &TokenRegistry;
}
Required Methods§
Sourcefn get_node(&self) -> Arc<dyn MutableDirectory>
fn get_node(&self) -> Arc<dyn MutableDirectory>
Returns the node and flags that correspond with this token. This information is returned by
the get_owner
method. For now this always returns Arc
Sourcefn token_registry(&self) -> &TokenRegistry
fn token_registry(&self) -> &TokenRegistry
Returns the token registry.