Trait libflatpak::prelude::RemoteRefExt

source ·
pub trait RemoteRefExt:
    IsA<RemoteRef>
    + Sealed
    + 'static {
    // Provided methods
    fn download_size(&self) -> u64 { ... }
    fn eol(&self) -> Option<GString> { ... }
    fn eol_rebase(&self) -> Option<GString> { ... }
    fn installed_size(&self) -> u64 { ... }
    fn metadata(&self) -> Option<Bytes> { ... }
    fn remote_name(&self) -> Option<GString> { ... }
    fn end_of_life(&self) -> Option<GString> { ... }
    fn end_of_life_rebase(&self) -> Option<GString> { ... }
}
Expand description

Trait containing all RemoteRef methods.

§Implementors

RemoteRef

Provided Methods§

source

fn download_size(&self) -> u64

Returns the download size of the ref.

§Returns

the download size

source

fn eol(&self) -> Option<GString>

Returns the end-of-life reason string, or None if the ref is not end-of-lifed.

§Returns

the end-of-life reason or None

source

fn eol_rebase(&self) -> Option<GString>

Returns the end-of-life rebased ref, or None if the ref is not end-of-lifed.

§Returns

the end-of-life rebased ref or None

source

fn installed_size(&self) -> u64

Returns the installed size of the ref.

§Returns

the installed size

source

fn metadata(&self) -> Option<Bytes>

Returns the app metadata from the metadata cache of the ref.

§Returns

a glib::Bytes with the metadata file contents or None

source

fn remote_name(&self) -> Option<GString>

Gets the remote name of the ref.

§Returns

the remote name

source

fn end_of_life(&self) -> Option<GString>

source

fn end_of_life_rebase(&self) -> Option<GString>

Object Safety§

This trait is not object safe.

Implementors§