Skip to main content

Exposures

Trait Exposures 

Source
pub trait Exposures:
    Send
    + Sync
    + 'static {
    // Required method
    fn resolve(&self, token: &str) -> Option<Exposed>;
}
Expand description

Resolves published tokens.

Required Methods§

Source

fn resolve(&self, token: &str) -> Option<Exposed>

The file a token names, if any.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§