pub enum TorrentDeletion {
Delete,
MoveToTrash,
}Expand description
What to do when removing content files upon removing a torrent.
Variants§
Trait Implementations§
Source§impl Clone for TorrentDeletion
impl Clone for TorrentDeletion
Source§impl Debug for TorrentDeletion
impl Debug for TorrentDeletion
Source§impl Default for TorrentDeletion
impl Default for TorrentDeletion
Source§impl<'de> Deserialize<'de> for TorrentDeletion
impl<'de> Deserialize<'de> for TorrentDeletion
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 Display for TorrentDeletion
impl Display for TorrentDeletion
Source§impl PartialEq for TorrentDeletion
impl PartialEq for TorrentDeletion
Source§impl Serialize for TorrentDeletion
impl Serialize for TorrentDeletion
impl StructuralPartialEq for TorrentDeletion
Auto Trait Implementations§
impl Freeze for TorrentDeletion
impl RefUnwindSafe for TorrentDeletion
impl Send for TorrentDeletion
impl Sync for TorrentDeletion
impl Unpin for TorrentDeletion
impl UnsafeUnpin for TorrentDeletion
impl UnwindSafe for TorrentDeletion
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> 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.