[][src]Struct ostree::SysrootUpgrader

pub struct SysrootUpgrader(_, _);

Implementations

impl SysrootUpgrader[src]

pub fn new<P: IsA<Cancellable>>(
    sysroot: &Sysroot,
    cancellable: Option<&P>
) -> Result<SysrootUpgrader, Error>
[src]

pub fn new_for_os<P: IsA<Cancellable>>(
    sysroot: &Sysroot,
    osname: Option<&str>,
    cancellable: Option<&P>
) -> Result<SysrootUpgrader, Error>
[src]

pub fn new_for_os_with_flags<P: IsA<Cancellable>>(
    sysroot: &Sysroot,
    osname: Option<&str>,
    flags: SysrootUpgraderFlags,
    cancellable: Option<&P>
) -> Result<SysrootUpgrader, Error>
[src]

pub fn deploy<P: IsA<Cancellable>>(
    &self,
    cancellable: Option<&P>
) -> Result<(), Error>
[src]

pub fn dup_origin(&self) -> Option<KeyFile>[src]

pub fn get_origin(&self) -> Option<KeyFile>[src]

pub fn get_origin_description(&self) -> Option<GString>[src]

pub fn pull<P: IsA<AsyncProgress>, Q: IsA<Cancellable>>(
    &self,
    flags: RepoPullFlags,
    upgrader_flags: SysrootUpgraderPullFlags,
    progress: Option<&P>,
    cancellable: Option<&Q>
) -> Result<bool, Error>
[src]

pub fn pull_one_dir<P: IsA<AsyncProgress>, Q: IsA<Cancellable>>(
    &self,
    dir_to_pull: &str,
    flags: RepoPullFlags,
    upgrader_flags: SysrootUpgraderPullFlags,
    progress: Option<&P>,
    cancellable: Option<&Q>
) -> Result<bool, Error>
[src]

pub fn set_origin<P: IsA<Cancellable>>(
    &self,
    origin: Option<&KeyFile>,
    cancellable: Option<&P>
) -> Result<(), Error>
[src]

pub fn get_property_flags(&self) -> SysrootUpgraderFlags[src]

pub fn get_property_osname(&self) -> Option<GString>[src]

pub fn get_property_sysroot(&self) -> Option<Sysroot>[src]

pub fn check_timestamps(
    repo: &Repo,
    from_rev: &str,
    to_rev: &str
) -> Result<(), Error>
[src]

Trait Implementations

impl Clone for SysrootUpgrader[src]

impl Debug for SysrootUpgrader[src]

impl Display for SysrootUpgrader[src]

impl Eq for SysrootUpgrader[src]

impl Hash for SysrootUpgrader[src]

impl Ord for SysrootUpgrader[src]

impl<T: ObjectType> PartialEq<T> for SysrootUpgrader[src]

impl<T: ObjectType> PartialOrd<T> for SysrootUpgrader[src]

impl StaticType for SysrootUpgrader[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

impl<Super, Sub> CanDowncast<Sub> for Super where
    Sub: IsA<Super>,
    Super: IsA<Super>, 
[src]

impl<T> Cast for T where
    T: ObjectType
[src]

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

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

impl<T> ObjectExt for T where
    T: ObjectType
[src]

impl<'a, T> ToGlibContainerFromSlice<'a, *const GList> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 
[src]

impl<'a, T> ToGlibContainerFromSlice<'a, *const GPtrArray> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 
[src]

impl<'a, T> ToGlibContainerFromSlice<'a, *mut GArray> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 
[src]

impl<'a, T> ToGlibContainerFromSlice<'a, *mut GList> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 
[src]

impl<'a, T> ToGlibContainerFromSlice<'a, *mut GPtrArray> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToSendValue for T where
    T: ToValue + SetValue + Send + ?Sized
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T> ToValue for T where
    T: SetValue + ?Sized
[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.