Enum self_update::Status
[−]
[src]
pub enum Status { UpToDate(String), Updated(String), }
Status returned after updating
Wrapped String
s are version tags
Variants
UpToDate(String)
Updated(String)
Methods
impl Status
[src]
fn version(&self) -> &str
Return the version tag
fn uptodate(&self) -> bool
Returns true
if Status::UpToDate
fn updated(&self) -> bool
Returns true
if Status::Updated
Trait Implementations
impl Debug for Status
[src]
impl Clone for Status
[src]
fn clone(&self) -> Status
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more