[][src]Enum self_update::backends::github::GitHubUpdateStatus

pub enum GitHubUpdateStatus {
    UpToDate,
    Updated(Release),
}

Update status with extended information from Github

Variants

UpToDate

Crate is up to date

Updated(Release)

Crate was updated to the contained release

Methods

impl GitHubUpdateStatus[src]

pub fn into_status(self, current_version: String) -> Status[src]

Turn the extended information into the crate's standard Status enum

pub fn uptodate(&self) -> bool[src]

Returns true if Status::UpToDate

pub fn updated(&self) -> bool[src]

Returns true if Status::Updated

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Err = <U as TryFrom<T>>::Err