mirror of
https://github.com/ratspeak/rsReticulum
synced 2026-11-27 13:52:16 +00:00
docs: no rustdoc links to private items
This commit is contained in:
1 parent
499a98aa03
commit
cce85ec4e3
3 files changed
+3
-4
No files matched your search
@@ -7387,8 +7387,7 @@ impl LinkManager {
|
||||
|
||||
/// [`Self::register_deferred_request_handler`] with declared admission
|
||||
/// accounting and optional refusal replies. Registration also fails for a
|
||||
/// zero copy count or a refusal reply over
|
||||
/// [`crate::deferred_request::MAX_REFUSAL_REPLY`] bytes.
|
||||
/// zero copy count or a refusal reply over 256 bytes.
|
||||
pub fn register_deferred_request_handler_with<F>(
|
||||
&mut self,
|
||||
path: &str,
|
||||
|
||||
@@ -67,7 +67,7 @@ pub(crate) fn generation_threads(target_value: f64) -> NonZeroUsize {
|
||||
|
||||
impl DiscoveryStamper for RnsDiscoveryStamper {
|
||||
/// Uses `ctl`'s cancel flag and deadline; the worker count follows
|
||||
/// [`generation_threads`].
|
||||
/// `generation_threads`.
|
||||
fn generate(
|
||||
&self,
|
||||
infohash: &[u8; 32],
|
||||
|
||||
@@ -259,7 +259,7 @@ const ANNOUNCE_CHUNK_FILES: usize = 4096;
|
||||
/// Imports `storage/cache/announces/<hex>` files, each `[raw, interface]`, as
|
||||
/// `AnnounceCache.import_legacy` does in `RNS/Storage.py`. Every announce gets
|
||||
/// `received = now`. Upstream unlinks every file before its one commit; here the
|
||||
/// files go in chunks of [`ANNOUNCE_CHUNK_FILES`], and a chunk's files are removed
|
||||
/// files go in chunks of `ANNOUNCE_CHUNK_FILES` (4,096), and a chunk's files are removed
|
||||
/// only after its transaction has committed, so an interrupted import loses
|
||||
/// nothing and resumes with the files that remain. A file whose name is not a
|
||||
/// 32-byte hash, or whose content does not decode, is removed without a row.
|
||||
|
||||
Reference in new issue
Block a user