#[repr(u32)]pub enum TrTorrentStatus {
Stopped = 0,
CheckWait = 1,
Check = 2,
DownloadWait = 3,
Download = 4,
SeedWait = 5,
Seed = 6,
}
Variants§
Trait Implementations§
source§impl Clone for TrTorrentStatus
impl Clone for TrTorrentStatus
source§fn clone(&self) -> TrTorrentStatus
fn clone(&self) -> TrTorrentStatus
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 TrTorrentStatus
impl Debug for TrTorrentStatus
source§impl Default for TrTorrentStatus
impl Default for TrTorrentStatus
source§fn default() -> TrTorrentStatus
fn default() -> TrTorrentStatus
Returns the “default value” for a type. Read more
source§impl From<TrTorrentStatus> for Value
impl From<TrTorrentStatus> for Value
source§fn from(v: TrTorrentStatus) -> Self
fn from(v: TrTorrentStatus) -> Self
Converts to this type from the input type.
source§impl<'a> FromValue<'a> for TrTorrentStatus
impl<'a> FromValue<'a> for TrTorrentStatus
§type Checker = GenericValueTypeChecker<TrTorrentStatus>
type Checker = GenericValueTypeChecker<TrTorrentStatus>
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 TrTorrentStatus
impl HasParamSpec for TrTorrentStatus
type ParamSpec = ParamSpecEnum
§type SetValue = TrTorrentStatus
type SetValue = TrTorrentStatus
Preferred value to be used as setter for the associated ParamSpec.
type BuilderFn = fn(_: &str, _: TrTorrentStatus) -> ParamSpecEnumBuilder<'_, TrTorrentStatus>
fn param_spec_builder() -> Self::BuilderFn
source§impl PartialEq for TrTorrentStatus
impl PartialEq for TrTorrentStatus
source§fn eq(&self, other: &TrTorrentStatus) -> bool
fn eq(&self, other: &TrTorrentStatus) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl StaticType for TrTorrentStatus
impl StaticType for TrTorrentStatus
source§fn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of
Self
.source§impl ToValue for TrTorrentStatus
impl ToValue for TrTorrentStatus
source§impl TryFrom<u32> for TrTorrentStatus
impl TryFrom<u32> for TrTorrentStatus
§type Error = TryFromPrimitiveError<TrTorrentStatus>
type Error = TryFromPrimitiveError<TrTorrentStatus>
The type returned in the event of a conversion error.
source§impl TryFromGlib<i32> for TrTorrentStatus
impl TryFromGlib<i32> for TrTorrentStatus
source§impl TryFromPrimitive for TrTorrentStatus
impl TryFromPrimitive for TrTorrentStatus
type Primitive = u32
type Error = TryFromPrimitiveError<TrTorrentStatus>
const NAME: &'static str = "TrTorrentStatus"
fn try_from_primitive( number: Self::Primitive ) -> Result<Self, TryFromPrimitiveError<Self>>
source§impl ValueType for TrTorrentStatus
impl ValueType for TrTorrentStatus
§type Type = TrTorrentStatus
type Type = TrTorrentStatus
Type to get the
Type
from. Read moreimpl Copy for TrTorrentStatus
impl StructuralPartialEq for TrTorrentStatus
Auto Trait Implementations§
impl Freeze for TrTorrentStatus
impl RefUnwindSafe for TrTorrentStatus
impl Send for TrTorrentStatus
impl Sync for TrTorrentStatus
impl Unpin for TrTorrentStatus
impl UnwindSafe for TrTorrentStatus
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
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>
source§impl<T> IntoClosureReturnValue for T
impl<T> IntoClosureReturnValue for T
fn into_closure_return_value(self) -> Option<Value>
source§impl<T> PropertyGet for Twhere
T: HasParamSpec,
impl<T> PropertyGet for Twhere
T: HasParamSpec,
source§impl<T> StaticTypeExt for Twhere
T: StaticType,
impl<T> StaticTypeExt for Twhere
T: StaticType,
source§fn ensure_type()
fn ensure_type()
Ensures that the type has been registered with the type system.
source§impl<T> ToSendValue for T
impl<T> ToSendValue for T
source§fn to_send_value(&self) -> SendValue
fn to_send_value(&self) -> SendValue
Returns a
SendValue
clone of self
.