Source

Trait Source 

Source
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§

Source

fn binary(&self) -> &'static str

The name of the binary.

Source

fn fallback(&self) -> &str

The fallback version to be used when the latest version cannot be determined.

Source

fn prerelease(&self) -> Option<bool>

Whether pre-releases are to be used.

Implementors§