pub trait Version<'a> {
fn frontend(&self) -> Result<VersionInfo>;
fn backend(&self) -> Result<VersionInfo>;
fn extended(&self) -> Result<Vec<VersionInfo>> { ... }
}
Required Methods
fn frontend(&self) -> Result<VersionInfo>
fn frontend(&self) -> Result<VersionInfo>
Returns name and version of the SOP implementation.
fn backend(&self) -> Result<VersionInfo>
fn backend(&self) -> Result<VersionInfo>
Returns name and version of the primary underlying OpenPGP toolkit.
Provided Methods
fn extended(&self) -> Result<Vec<VersionInfo>>
fn extended(&self) -> Result<Vec<VersionInfo>>
Returns multiple name and version pairs.
The first one MUST match the information produced by
Version::frontend
, but the rest have no defined structure.
This is what the default implementation does.