Enum aria2_ws::response::TaskStatus
source · [−]pub enum TaskStatus {
Active,
Waiting,
Paused,
Error,
Complete,
Removed,
}
Expand description
Task status returned by aria2.tellStatus
.
Active
for currently downloading/seeding downloads.
Waiting
for downloads in the queue; download is not started.
Paused
for paused downloads.
Error
for downloads that were stopped because of error.
Complete
for stopped and completed downloads.
Removed
for the downloads removed by user.
https://aria2.github.io/manual/en/html/aria2c.html#aria2.tellStatus
Variants
Active
Waiting
Paused
Error
Complete
Removed
Trait Implementations
sourceimpl Clone for TaskStatus
impl Clone for TaskStatus
sourcefn clone(&self) -> TaskStatus
fn clone(&self) -> TaskStatus
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for TaskStatus
impl Debug for TaskStatus
sourceimpl<'de> Deserialize<'de> for TaskStatus
impl<'de> Deserialize<'de> for TaskStatus
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<TaskStatus> for TaskStatus
impl PartialEq<TaskStatus> for TaskStatus
sourceimpl Serialize for TaskStatus
impl Serialize for TaskStatus
impl StructuralPartialEq for TaskStatus
Auto Trait Implementations
impl RefUnwindSafe for TaskStatus
impl Send for TaskStatus
impl Sync for TaskStatus
impl Unpin for TaskStatus
impl UnwindSafe for TaskStatus
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more