pub enum FilterTorrentState {
Show 14 variants
All,
Downloading,
Seeding,
Completed,
Running,
Stopped,
Active,
Inactive,
Stalled,
StalledUploading,
StalledDownloading,
Checking,
Moving,
Errored,
}Expand description
Possible Torrent states that can be filtered.
Variants§
All
Every filter
Downloading
Only torrents which are downloading
Seeding
Only torrents which are seeding
Completed
Only torrents which are completed
Running
Only torrents which are running (same as active, or checking disk files)
Stopped
Only torrents which are stopped
Active
Only torrents which are active (downloading, seeding, metadata, etc)
Inactive
Only torrents which are inactive (stopped, stalled, errored)
Stalled
Only torrents which are stalled (no data transfer, coverse both StalledUploading and StalledDownloading)
StalledUploading
Only torrents which are stalled uploading (not seeding any data)
StalledDownloading
Only torrents which are stalled downloading (not receiving any data)
Checking
Only torrents which are checking disk files
Moving
Only torrents which are moving
Errored
Only torrents which are errored. (Missing files, failed to write, etc)
Trait Implementations§
Source§impl Clone for FilterTorrentState
impl Clone for FilterTorrentState
Source§impl Debug for FilterTorrentState
impl Debug for FilterTorrentState
Source§impl<'de> Deserialize<'de> for FilterTorrentState
impl<'de> Deserialize<'de> for FilterTorrentState
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>,
Source§impl Display for FilterTorrentState
impl Display for FilterTorrentState
Source§impl PartialEq for FilterTorrentState
impl PartialEq for FilterTorrentState
Source§impl Serialize for FilterTorrentState
impl Serialize for FilterTorrentState
impl StructuralPartialEq for FilterTorrentState
Auto Trait Implementations§
impl Freeze for FilterTorrentState
impl RefUnwindSafe for FilterTorrentState
impl Send for FilterTorrentState
impl Sync for FilterTorrentState
impl Unpin for FilterTorrentState
impl UnsafeUnpin for FilterTorrentState
impl UnwindSafe for FilterTorrentState
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.