pub trait DefaultEraHost {
// Required method
fn default_era_host(&self) -> Option<Url>;
}Available on crate feature
node-api only.Expand description
The ExtractEraHost trait allows to derive a default URL host for ERA files.
Required Methods§
Sourcefn default_era_host(&self) -> Option<Url>
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".