pub trait Source {
// Required methods
fn binary(&self) -> &'static str;
fn fallback(&self) -> &str;
fn prerelease(&self) -> Option<bool>;
}
Expand description
The source of a binary.
Required Methods§
Sourcefn fallback(&self) -> &str
fn fallback(&self) -> &str
The fallback version to be used when the latest version cannot be determined.
Sourcefn prerelease(&self) -> Option<bool>
fn prerelease(&self) -> Option<bool>
Whether pre-releases are to be used.