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§
Trait Implementations§
source§impl Clone for TaskStatus
impl Clone for TaskStatus
source§fn clone(&self) -> TaskStatus
fn clone(&self) -> TaskStatus
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 TaskStatus
impl Debug for TaskStatus
source§impl<'de> Deserialize<'de> for TaskStatus
impl<'de> Deserialize<'de> for TaskStatus
source§fn 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
source§impl PartialEq for TaskStatus
impl PartialEq for TaskStatus
source§fn eq(&self, other: &TaskStatus) -> bool
fn eq(&self, other: &TaskStatus) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for TaskStatus
impl Serialize for TaskStatus
impl Eq for TaskStatus
impl StructuralPartialEq for TaskStatus
Auto Trait Implementations§
impl Freeze for TaskStatus
impl RefUnwindSafe for TaskStatus
impl Send for TaskStatus
impl Sync for TaskStatus
impl Unpin for TaskStatus
impl UnwindSafe for TaskStatus
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