Enum souk::main::task::task_status::SkTaskStatus
source · #[repr(u32)]
pub enum SkTaskStatus {
None,
Pending,
Preparing,
Installing,
InstallingBundle,
Uninstalling,
Updating,
Done,
Cancelled,
Error,
}
Variants§
Implementations§
source§impl SkTaskStatus
impl SkTaskStatus
pub fn is_completed(&self) -> bool
pub fn has_no_detailed_progress(&self) -> bool
Trait Implementations§
source§impl Clone for SkTaskStatus
impl Clone for SkTaskStatus
source§fn clone(&self) -> SkTaskStatus
fn clone(&self) -> SkTaskStatus
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 SkTaskStatus
impl Debug for SkTaskStatus
source§impl Default for SkTaskStatus
impl Default for SkTaskStatus
source§fn default() -> SkTaskStatus
fn default() -> SkTaskStatus
Returns the “default value” for a type. Read more
source§impl Display for SkTaskStatus
impl Display for SkTaskStatus
source§impl From<SkTaskStatus> for Value
impl From<SkTaskStatus> for Value
source§fn from(v: SkTaskStatus) -> Self
fn from(v: SkTaskStatus) -> Self
Converts to this type from the input type.
source§impl From<TaskStatus> for SkTaskStatus
impl From<TaskStatus> for SkTaskStatus
source§fn from(status: TaskStatus) -> Self
fn from(status: TaskStatus) -> Self
Converts to this type from the input type.
source§impl<'a> FromValue<'a> for SkTaskStatus
impl<'a> FromValue<'a> for SkTaskStatus
§type Checker = GenericValueTypeChecker<SkTaskStatus>
type Checker = GenericValueTypeChecker<SkTaskStatus>
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 SkTaskStatus
impl HasParamSpec for SkTaskStatus
type ParamSpec = ParamSpecEnum
§type SetValue = SkTaskStatus
type SetValue = SkTaskStatus
Preferred value to be used as setter for the associated ParamSpec.
type BuilderFn = fn(_: &str, _: SkTaskStatus) -> ParamSpecEnumBuilder<'_, SkTaskStatus>
fn param_spec_builder() -> Self::BuilderFn
source§impl PartialEq<SkTaskStatus> for SkTaskStatus
impl PartialEq<SkTaskStatus> for SkTaskStatus
source§fn eq(&self, other: &SkTaskStatus) -> bool
fn eq(&self, other: &SkTaskStatus) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl StaticType for SkTaskStatus
impl StaticType for SkTaskStatus
source§fn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of
Self
.source§impl ToValue for SkTaskStatus
impl ToValue for SkTaskStatus
source§impl TryFromGlib<i32> for SkTaskStatus
impl TryFromGlib<i32> for SkTaskStatus
source§impl ValueType for SkTaskStatus
impl ValueType for SkTaskStatus
§type Type = SkTaskStatus
type Type = SkTaskStatus
Type to get the
Type
from. Read moreimpl Copy for SkTaskStatus
impl Eq for SkTaskStatus
impl StructuralEq for SkTaskStatus
impl StructuralPartialEq for SkTaskStatus
Auto Trait Implementations§
impl RefUnwindSafe for SkTaskStatus
impl Send for SkTaskStatus
impl Sync for SkTaskStatus
impl Unpin for SkTaskStatus
impl UnwindSafe for SkTaskStatus
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
.