#[repr(u32)]
pub enum SkTaskKind {
FlatpakDryRun,
FlatpakInstall,
FlatpakUninstall,
FlatpakUpdate,
FlatpakUpdateInstallation,
Unknown,
None,
}
Variants§
FlatpakDryRun
A Flatpak operation gets dry ran
FlatpakInstall
A Flatpak package (with all related refs) gets installed
FlatpakUninstall
A Flatpak package (with all related refs) gets uninstalled
FlatpakUpdate
One single Flatpak package gets updated (with all related refs)
FlatpakUpdateInstallation
A whole Flatpak installation gets updated
Unknown
Never should be get used (placeholder)
None
Implementations§
source§impl SkTaskKind
impl SkTaskKind
pub fn from_task_data(data: &Task) -> Self
pub fn targets_single_package(&self) -> bool
Trait Implementations§
source§impl Clone for SkTaskKind
impl Clone for SkTaskKind
source§fn clone(&self) -> SkTaskKind
fn clone(&self) -> SkTaskKind
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SkTaskKind
impl Debug for SkTaskKind
source§impl Default for SkTaskKind
impl Default for SkTaskKind
source§fn default() -> SkTaskKind
fn default() -> SkTaskKind
Returns the “default value” for a type. Read more
source§impl From<FlatpakOperationKind> for SkTaskKind
impl From<FlatpakOperationKind> for SkTaskKind
source§fn from(kind: FlatpakOperationKind) -> Self
fn from(kind: FlatpakOperationKind) -> Self
Converts to this type from the input type.
source§impl From<FlatpakTaskKind> for SkTaskKind
impl From<FlatpakTaskKind> for SkTaskKind
source§fn from(kind: FlatpakTaskKind) -> Self
fn from(kind: FlatpakTaskKind) -> Self
Converts to this type from the input type.
source§impl From<SkTaskKind> for Value
impl From<SkTaskKind> for Value
source§fn from(v: SkTaskKind) -> Self
fn from(v: SkTaskKind) -> Self
Converts to this type from the input type.
source§impl<'a> FromValue<'a> for SkTaskKind
impl<'a> FromValue<'a> for SkTaskKind
§type Checker = GenericValueTypeChecker<SkTaskKind>
type Checker = GenericValueTypeChecker<SkTaskKind>
Value type checker.
source§unsafe fn from_value(value: &'a Value) -> Self
unsafe fn from_value(value: &'a Value) -> Self
Get the contained value from a
Value
. Read moresource§impl HasParamSpec for SkTaskKind
impl HasParamSpec for SkTaskKind
type ParamSpec = ParamSpecEnum
§type SetValue = SkTaskKind
type SetValue = SkTaskKind
Preferred value to be used as setter for the associated ParamSpec.
type BuilderFn = fn(_: &str, _: SkTaskKind) -> ParamSpecEnumBuilder<'_, SkTaskKind>
fn param_spec_builder() -> Self::BuilderFn
source§impl PartialEq<SkTaskKind> for SkTaskKind
impl PartialEq<SkTaskKind> for SkTaskKind
source§fn eq(&self, other: &SkTaskKind) -> bool
fn eq(&self, other: &SkTaskKind) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl StaticType for SkTaskKind
impl StaticType for SkTaskKind
source§fn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of
Self
.source§impl ToValue for SkTaskKind
impl ToValue for SkTaskKind
source§impl TryFromGlib<i32> for SkTaskKind
impl TryFromGlib<i32> for SkTaskKind
source§impl ValueType for SkTaskKind
impl ValueType for SkTaskKind
§type Type = SkTaskKind
type Type = SkTaskKind
Type to get the
Type
from. Read moreimpl Copy for SkTaskKind
impl Eq for SkTaskKind
impl StructuralEq for SkTaskKind
impl StructuralPartialEq for SkTaskKind
Auto Trait Implementations§
impl RefUnwindSafe for SkTaskKind
impl Send for SkTaskKind
impl Sync for SkTaskKind
impl Unpin for SkTaskKind
impl UnwindSafe for SkTaskKind
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> IntoClosureReturnValue for Twhere
T: Into<Value>,
impl<T> IntoClosureReturnValue for Twhere
T: Into<Value>,
fn into_closure_return_value(self) -> Option<Value>
§impl<T> NoneValue for Twhere
T: Default,
impl<T> NoneValue for Twhere
T: Default,
type NoneType = T
§fn null_value() -> T
fn null_value() -> T
The none-equivalent value.
§impl<T> PropertyGet for Twhere
T: HasParamSpec,
impl<T> PropertyGet for Twhere
T: HasParamSpec,
§impl<T> StaticTypeExt for Twhere
T: StaticType,
impl<T> StaticTypeExt for Twhere
T: StaticType,
§fn ensure_type()
fn ensure_type()
Ensures that the type has been registered with the type system.
§impl<T> ToSendValue for Twhere
T: Send + ToValue + ?Sized,
impl<T> ToSendValue for Twhere
T: Send + ToValue + ?Sized,
§fn to_send_value(&self) -> SendValue
fn to_send_value(&self) -> SendValue
Returns a
SendValue
clone of self
.