9 lines
5.5 KiB
HTML
9 lines
5.5 KiB
HTML
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Download manager for offline media support"><title>jellytau_lib::download - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-MediumItalic-ccf7e434.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2"href="../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../static.files/normalize-9960930a.css"><link rel="stylesheet" href="../../static.files/rustdoc-17e0aaed.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="jellytau_lib" data-themes="" data-resource-suffix="" data-rustdoc-version="1.97.1 (8bab26f4f 2026-07-14)" data-channel="1.97.1" data-search-js="search-fd9372ac.js" data-stringdex-js="stringdex-2da4960a.js" data-settings-js="settings-170eb4bf.js" ><script src="../../static.files/storage-41dd4d93.js"></script><script defer src="../sidebar-items.js"></script><script defer src="../../static.files/main-fcd733ba.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-f7c3ffd8.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-eab170b8.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-044be391.svg"></head><body class="rustdoc mod"><a class="skip-main-content" href="#main-content">Skip to main content</a><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><rustdoc-topbar><h2><a href="#">Module download</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../jellytau_lib/index.html">jellytau_<wbr>lib</a><span class="version">0.10.1</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Module download</a></h2><h3><a href="#reexports">Module Items</a></h3><ul class="block"><li><a href="#reexports" title="Re-exports">Re-exports</a></li><li><a href="#modules" title="Modules">Modules</a></li><li><a href="#structs" title="Structs">Structs</a></li></ul></section><div id="rustdoc-modnav"><h2 class="in-crate"><a href="../index.html">In crate jellytau_<wbr>lib</a></h2></div></div></nav><div class="sidebar-resizer" title="Drag to resize sidebar"></div><main><div class="width-limiter"><section id="main-content" class="content" tabindex="-1"><div class="main-heading"><div class="rustdoc-breadcrumbs"><a href="../index.html">jellytau_lib</a></div><h1>Module <span>download</span> <button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../../src/jellytau_lib/download/mod.rs.html#1-212">Source</a> </span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Download manager for offline media support</p>
|
|
<p>This module handles downloading media from Jellyfin servers with:</p>
|
|
<ul>
|
|
<li>Priority-based queue management</li>
|
|
<li>Progress tracking and event emission</li>
|
|
<li>Retry logic with exponential backoff</li>
|
|
<li>Resume support via HTTP Range requests</li>
|
|
</ul>
|
|
</div></details><h2 id="reexports" class="section-header">Re-exports<a href="#reexports" class="anchor">§</a></h2><dl class="item-table reexports"><dt id="reexport.DownloadWorker"><code>pub use worker::<a class="struct" href="worker/struct.DownloadWorker.html" title="struct jellytau_lib::download::worker::DownloadWorker">DownloadWorker</a>;</code></dt></dl><h2 id="modules" class="section-header">Modules<a href="#modules" class="anchor">§</a></h2><dl class="item-table"><dt><a class="mod" href="cache/index.html" title="mod jellytau_lib::download::cache">cache</a></dt><dd>Smart caching engine for predictive downloads</dd><dt><a class="mod" href="events/index.html" title="mod jellytau_lib::download::events">events</a></dt><dd>Download events for progress tracking and status updates</dd><dt><a class="mod" href="network/index.html" title="mod jellytau_lib::download::network">network</a></dt><dd>Network transport classification for the WiFi-only download gate.</dd><dt><a class="mod" href="stop/index.html" title="mod jellytau_lib::download::stop">stop</a></dt><dd>Stop signalling for in-flight downloads.</dd><dt><a class="mod" href="worker/index.html" title="mod jellytau_lib::download::worker">worker</a></dt><dd>Download worker for HTTP streaming with progress tracking and retry logic</dd></dl><h2 id="structs" class="section-header">Structs<a href="#structs" class="anchor">§</a></h2><dl class="item-table"><dt><a class="struct" href="struct.DownloadInfo.html" title="struct jellytau_lib::download::DownloadInfo">Download<wbr>Info</a></dt><dd>Information about a download</dd><dt><a class="struct" href="struct.DownloadManager.html" title="struct jellytau_lib::download::DownloadManager">Download<wbr>Manager</a></dt><dd>Download manager coordinating downloads across workers</dd><dt><a class="struct" href="struct.DownloadTask.html" title="struct jellytau_lib::download::DownloadTask">Download<wbr>Task</a></dt><dd>Download task for workers</dd></dl></section></div></main></body></html> |