pub enum FailureRemedy {
ManageStorage {
needed_bytes: u64,
},
Retry,
Remove,
}Expand description
What to offer for a download that failed, by its cause
(DownloadFailure::suggested).
Variants§
ManageStorage
It needs needed_bytes more free: offer to manage storage, then
try again.
Retry
It may come whole another time: offer to try again.
Remove
The same request finds the same: offer only to remove it.
Trait Implementations§
Source§impl Clone for FailureRemedy
impl Clone for FailureRemedy
impl Copy for FailureRemedy
Source§impl Debug for FailureRemedy
impl Debug for FailureRemedy
impl Eq for FailureRemedy
Source§impl PartialEq for FailureRemedy
impl PartialEq for FailureRemedy
impl StructuralPartialEq for FailureRemedy
Auto Trait Implementations§
impl Freeze for FailureRemedy
impl RefUnwindSafe for FailureRemedy
impl Send for FailureRemedy
impl Sync for FailureRemedy
impl Unpin for FailureRemedy
impl UnsafeUnpin for FailureRemedy
impl UnwindSafe for FailureRemedy
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