Skip to main content

DefaultEraHost

Trait DefaultEraHost 

Source
pub trait DefaultEraHost {
    // Required method
    fn default_era_host(&self) -> Option<Url>;
}
Expand description

The ExtractEraHost trait allows to derive a default URL host for ERA files.

Required Methods§

Source

fn default_era_host(&self) -> Option<Url>

Converts self into Url index page of the ERA host.

Returns Err if the conversion is not possible.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§