pub enum DownloadProgressItem {
Error(Error),
TryProvider {
id: NodeId,
request: Arc<GetRequest>,
},
ProviderFailed {
id: NodeId,
request: Arc<GetRequest>,
},
PartComplete {
request: Arc<GetRequest>,
},
Progress(u64),
DownloadError,
}
Variants§
Error(Error)
TryProvider
ProviderFailed
PartComplete
Fields
§
request: Arc<GetRequest>
Progress(u64)
DownloadError
Trait Implementations§
Source§impl Debug for DownloadProgressItem
impl Debug for DownloadProgressItem
Source§impl<'de> Deserialize<'de> for DownloadProgressItem
impl<'de> Deserialize<'de> for DownloadProgressItem
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
Auto Trait Implementations§
impl Freeze for DownloadProgressItem
impl RefUnwindSafe for DownloadProgressItem
impl Send for DownloadProgressItem
impl Sync for DownloadProgressItem
impl Unpin for DownloadProgressItem
impl UnwindSafe for DownloadProgressItem
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